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.
Created attachment 3339 [details] [review] proposed patch. proposed patch.
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.