shithub: choc

Download patch

ref: 94419f9f915682f584153cb3797c0ed08eb83500
parent: 0632e537f9277e7c3c0cbc2874be94531ff50134
author: Fabian Greffrath <[email protected]>
date: Tue Jul 15 14:24:22 EDT 2014

free() some allocated bytes

Thanks valgrind!

--- a/src/deh_io.c
+++ b/src/deh_io.c
@@ -137,6 +137,7 @@
         W_ReleaseLumpNum(context->lumpnum);
     }
 
+    free(context->filename);
     Z_Free(context->readbuffer);
     Z_Free(context);
 }