aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-12-03 23:38:07 -0800
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:29 +0200
commit9dec6c18bc5289d86a1a25c71c86e82e8ad37332 (patch)
tree4e7cb2d9a66ce707c46d17904d2e7a6499646bc3 /bin
parent8d6d95d74c0e0e6fcd3523c78ad7b9607288f578 (diff)
downloadnx-libs-9dec6c18bc5289d86a1a25c71c86e82e8ad37332.tar.gz
nx-libs-9dec6c18bc5289d86a1a25c71c86e82e8ad37332.tar.bz2
nx-libs-9dec6c18bc5289d86a1a25c71c86e82e8ad37332.zip
Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths
Rework code to store allocations directly into XIM struct instead of temporary local variables, so we can use _XCloseIM to unwind instead of duplicating it, and consistently jump to error handler on failure, instead of sometimes leaking and sometimes freeing. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions