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>
Showing
Please
register
or
sign in
to comment