aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/FontNames.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/FontNames.c')
-rw-r--r--libX11/src/FontNames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/FontNames.c b/libX11/src/FontNames.c
index c50de2eeb..6fc6b1272 100644
--- a/libX11/src/FontNames.c
+++ b/libX11/src/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);