foxygit / doom Log in
commit 94419f9f915682f584153cb3797c0ed08eb83500
Author:     Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Tue Jul 15 18:24:22 2014 +0200
Commit:     Fabian Greffrath <fabian@greffrath.com>
CommitDate: Tue Jul 15 18:24:22 2014 +0200

    free() some allocated bytes

    Thanks valgrind!
---
 src/deh_io.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/deh_io.c b/src/deh_io.c
index 9f76563d..778170fd 100644
--- a/src/deh_io.c
+++ b/src/deh_io.c
@@ -137,6 +137,7 @@ void DEH_CloseFile(deh_context_t *context)
         W_ReleaseLumpNum(context->lumpnum);
     }

+    free(context->filename);
     Z_Free(context->readbuffer);
     Z_Free(context);
 }