Bug 93183 - _XDefaultOpenIM memory leak
Summary: _XDefaultOpenIM memory leak
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Alan Coopersmith
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-30 21:46 UTC by Sami Farin
Modified: 2015-12-19 17:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sami Farin 2015-11-30 21:46:28 UTC
if this happens, local_impart is not free()d:

    if ((im->core.im_name = Xmalloc(i+1)) == NULL)
        goto Error2;
Comment 1 Alan Coopersmith 2015-12-04 07:43:03 UTC
Proposed fix posted for review:
http://patchwork.freedesktop.org/patch/67089/
Comment 2 Alan Coopersmith 2015-12-19 17:16:56 UTC
More complete fix pushed to git master:
http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=a2f9dfac286f37e54eb47d4736cc3f0150224a84


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.