aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/FillPoly.cpp
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2013-05-08 19:33:09 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-12 09:34:39 +0200
commit838108c296cb739350456f49431b57821c78b15c (patch)
tree2f6dbf0623c30806fda847c23646a3b396e62356 /nxcomp/FillPoly.cpp
parentdc749a457d62b330051e9fb709960951e05de41b (diff)
downloadnx-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 'nxcomp/FillPoly.cpp')
0 files changed, 0 insertions, 0 deletions