summaryrefslogtreecommitdiff
path: root/xkbpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbpath.c')
-rw-r--r--xkbpath.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/xkbpath.c b/xkbpath.c
index 1e2b243..695c13e 100644
--- a/xkbpath.c
+++ b/xkbpath.c
@@ -182,11 +182,8 @@ XkbClearIncludePath(void)
{
for (int i = 0; i < nPathEntries; i++)
{
- if (includePath[i] != NULL)
- {
- free(includePath[i]);
- includePath[i] = NULL;
- }
+ free(includePath[i]);
+ includePath[i] = NULL;
}
nPathEntries = 0;
}