Bug 4528 - it tries to wrongly free the memory in XtRealloc-1
Summary: it tries to wrongly free the memory in XtRealloc-1
Status: RESOLVED FIXED
Alias: None
Product: Xtests
Classification: Unclassified
Component: XTS (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: high normal
Assignee: Stuart Anderson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 02:09 UTC by Rui Feng
Modified: 2006-11-14 06:53 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
proposed patch. (305 bytes, patch)
2005-09-21 02:13 UTC, Rui Feng
Details | Splinter Review

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.