summaryrefslogtreecommitdiff
path: root/xset.c
diff options
context:
space:
mode:
Diffstat (limited to 'xset.c')
-rw-r--r--xset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xset.c b/xset.c
index d950b70..052d705 100644
--- a/xset.c
+++ b/xset.c
@@ -986,8 +986,7 @@ set_font_path(Display *dpy, const char *path, int special, int before, int after
}
free(directories);
- if (directoryList)
- free(directoryList);
+ free(directoryList);
if (currentList)
XFreeFontPath(currentList);