diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-07 19:47:57 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-06-07 19:47:57 -0400 |
commit | 3b4dd4475eaf6f890d4bed22200ed417981d1e7c (patch) | |
tree | 37c4e3b0f6e23a5a539c33f8faeb8a4ceebc6bff | |
parent | a04f42637efa2a1ba380f9d35c1b8b5d573430a5 (diff) |
Fixed a bug in one of the checks in `read_file()`.
-rw-r--r-- | config.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; } |