diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); } |