diff options
| -rw-r--r-- | src/lib/core/relocation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/core/relocation.c b/src/lib/core/relocation.c index bd5504b..ea8b9c6 100644 --- a/src/lib/core/relocation.c +++ b/src/lib/core/relocation.c @@ -138,6 +138,7 @@ int file_replace_text(const char* filename, const char* target, const char* repl fp = fopen(filename, "w+"); if (!fp) { SYSERROR("unable to reopen %s for writing", filename); + fclose(tfp); return -1; } |
