aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad/Manager.h
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2017-01-07 16:20:31 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-03-26 12:45:31 +0200
commit397c786530fb66ff0864b14796dc7036af8f76d9 (patch)
tree0f780255ec71d7e2bd6d5f48055aef8ec053f2cf /nxcompshad/Manager.h
parentf5e7d555ad58368cb550b4516b75a1ac3765fda2 (diff)
downloadnx-libs-patches_up_to_libX11_1.6.5.tar.gz
nx-libs-patches_up_to_libX11_1.6.5.tar.bz2
nx-libs-patches_up_to_libX11_1.6.5.zip
Fix wrong Xfree in XListFonts failure pathpatches_up_to_libX11_1.6.5
'ch' gets moved inside the allocated buffer as we're looping through fonts, so keep a reference to the start of the buffer so we can pass that to Xfree in the failure case. Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'nxcompshad/Manager.h')
0 files changed, 0 insertions, 0 deletions