xfontsel: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Fri Jun 1 20:06:07 PDT 2012
xfontsel.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
New commits:
commit bc51dd4cdf617ba44ed1231d411eb8d63616e371
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat May 26 22:58:14 2012 -0700
Prevent memory leak in GetFontNames if no fonts are matched
Defer creating ParseRec until after we check for numFonts = 0 and return.
Fixes error found by Parfait 0.5.0.2 bug checking tool:
Memory leak of pointer '<unknown>' allocated with XtMalloc(40)
at line 466 of app/xfontsel/xfontsel.c in function 'GetFontNames'.
pointer allocated at line 447 with XtMalloc(40).
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list