summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/config.c b/config.c
index 859b23c..40e3a07 100644
--- a/config.c
+++ b/config.c
@@ -39,7 +39,6 @@ char *read_file(const char *filename, long *size) {
/* Return NULL, if the buffer wasn't allocated. */
if (buf == NULL) {
fclose(fp);
- free(cfg);
return NULL;
}