aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/FontNames.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/FontNames.c')
-rw-r--r--nx-X11/lib/X11/FontNames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/FontNames.c b/nx-X11/lib/X11/FontNames.c
index c50de2eeb..6fc6b1272 100644
--- a/nx-X11/lib/X11/FontNames.c
+++ b/nx-X11/lib/X11/FontNames.c
@@ -73,8 +73,8 @@ int *actualCount) /* RETURN */
}
if ((! flist) || (! ch)) {
- if (flist) Xfree(flist);
- if (ch) Xfree(ch);
+ Xfree(flist);
+ Xfree(ch);
_XEatDataWords(dpy, rep.length);
*actualCount = 0;
UnlockDisplay(dpy);