summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/config.c b/config.c
index 2f790a5..1473a1e 100644
--- a/config.c
+++ b/config.c
@@ -148,7 +148,6 @@ int createconfigfile(char *filename) {
}
FILE *fp;
-// char line[MAXCHAR];
fp = fopen(filename, "a");
@@ -220,7 +219,7 @@ int createconfigfile(char *filename) {
}
fclose(fp);
+ free(dirtmp);
+ free(dir);
return 0;
-
-exit(1);
}