diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2013-05-08 19:33:09 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-12 09:34:39 +0200 |
commit | 838108c296cb739350456f49431b57821c78b15c (patch) | |
tree | 2f6dbf0623c30806fda847c23646a3b396e62356 /nx-X11/config | |
parent | dc749a457d62b330051e9fb709960951e05de41b (diff) | |
download | nx-libs-838108c296cb739350456f49431b57821c78b15c.tar.gz nx-libs-838108c296cb739350456f49431b57821c78b15c.tar.bz2 nx-libs-838108c296cb739350456f49431b57821c78b15c.zip |
XListFontsWithInfo: Re-decrement flist[0] before calling free() on it.
Freeing a pointer that wasn't returned by malloc() is undefined
behavior and produces an error with OpenBSD's implementation.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/config')
0 files changed, 0 insertions, 0 deletions