Bug 33935

Summary: Use xmlStrdup instead of strdup for consistency in Libxml2.
Product: WebKit Reporter: Kwang Yul Seo <skyul>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, cdumez, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Use xmlStrdup instead of strdup in Libxml2 none

Description Kwang Yul Seo 2010-01-20 18:51:48 PST
Use xmlStrdup instead of strdup for consistency. This is the first step to remove the direct use of strdup from WebKit.

reinterpret_cast is required convert between xmlChar* and char* because xmlChar is typedef to unsigned char.
Comment 1 Kwang Yul Seo 2010-01-20 18:57:58 PST
Created attachment 47091 [details]
Use xmlStrdup instead of strdup in Libxml2
Comment 2 Alexey Proskuryakov 2010-01-20 21:03:24 PST
Comment on attachment 47091 [details]
Use xmlStrdup instead of strdup in Libxml2

r=me
Comment 3 WebKit Commit Bot 2010-01-20 21:58:35 PST
Comment on attachment 47091 [details]
Use xmlStrdup instead of strdup in Libxml2

Clearing flags on attachment: 47091

Committed r53604: <http://trac.webkit.org/changeset/53604>
Comment 4 WebKit Commit Bot 2010-01-20 21:58:41 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Lucas Forschler 2019-02-06 09:03:25 PST
Mass moving XML DOM bugs to the "DOM" Component.