summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabian Greffrath2014-07-15 18:24:22 +0200
committerFabian Greffrath2014-07-15 18:24:22 +0200
commit94419f9f915682f584153cb3797c0ed08eb83500 (patch)
tree9dae70b98a50c32bc20d70cb3818ad4a4039c5d4 /src
parent0632e537f9277e7c3c0cbc2874be94531ff50134 (diff)
downloadchocolate-doom-94419f9f915682f584153cb3797c0ed08eb83500.tar.gz
chocolate-doom-94419f9f915682f584153cb3797c0ed08eb83500.tar.bz2
chocolate-doom-94419f9f915682f584153cb3797c0ed08eb83500.zip
free() some allocated bytes
Thanks valgrind!
Diffstat (limited to 'src')
-rw-r--r--src/deh_io.c1
1 files changed, 1 insertions, 0 deletions
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);
}