aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/WriteBuffer.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 /nxcomp/WriteBuffer.h
parentf5e7d555ad58368cb550b4516b75a1ac3765fda2 (diff)
downloadnx-libs-397c786530fb66ff0864b14796dc7036af8f76d9.tar.gz
nx-libs-397c786530fb66ff0864b14796dc7036af8f76d9.tar.bz2
nx-libs-397c786530fb66ff0864b14796dc7036af8f76d9.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 'nxcomp/WriteBuffer.h')
0 files changed, 0 insertions, 0 deletions