summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.c b/config.c
index 120e35a..1ece142 100644
--- a/config.c
+++ b/config.c
@@ -182,8 +182,7 @@ GetConfig (
found = 1;
}
- if (buf)
- free (buf);
+ free (buf);
fclose (fp);
return found;