diff options
Diffstat (limited to 'nx-X11/lib/X11/FontNames.c')
-rw-r--r-- | nx-X11/lib/X11/FontNames.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/FontNames.c b/nx-X11/lib/X11/FontNames.c index e55f338ca..3e23b5f49 100644 --- a/nx-X11/lib/X11/FontNames.c +++ b/nx-X11/lib/X11/FontNames.c @@ -98,12 +98,14 @@ int *actualCount) /* RETURN */ *ch = '\0'; /* and replace with null-termination */ count++; } else { + Xfree(ch); Xfree(flist); flist = NULL; count = 0; break; } } else { + Xfree(ch); Xfree(flist); flist = NULL; count = 0; |