diff options
author | Julien Cristau <jcristau@debian.org> | 2017-01-07 16:20:31 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2017-03-26 12:45:31 +0200 |
commit | 397c786530fb66ff0864b14796dc7036af8f76d9 (patch) | |
tree | 0f780255ec71d7e2bd6d5f48055aef8ec053f2cf /nxcomp/VERSION | |
parent | f5e7d555ad58368cb550b4516b75a1ac3765fda2 (diff) | |
download | nx-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 'nxcomp/VERSION')
0 files changed, 0 insertions, 0 deletions