Bug 4528

Summary: it tries to wrongly free the memory in XtRealloc-1
Product: Xtests Reporter: Rui Feng <fengrui>
Component: XTSAssignee: Stuart Anderson <anderson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: fengrui
Version: unspecified   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: proposed patch.

Description Rui Feng 2005-09-21 02:09:44 UTC
When changing the size of a block of storage, XtRealloc function possibly moves
it, but it should be neccessary. But in XtRealloc-1, it tries to wrongly free
the memory if ptr1 is equal to ptr2.
Comment 1 Rui Feng 2005-09-21 02:13:45 UTC
Created attachment 3339 [details] [review]
proposed patch.

proposed patch.
Comment 2 Stuart Anderson 2006-11-14 06:53:09 UTC
committed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.