summaryrefslogtreecommitdiff
path: root/src/im_file.cpp
diff options
context:
space:
mode:
authorscuri <scuri>2009-11-23 17:11:42 +0000
committerscuri <scuri>2009-11-23 17:11:42 +0000
commit50c8a0c91a1dd2fad6f6c7f86283f0dc9760a29e (patch)
treea60137d4542c0e54ff22cfb5e5245b506a5decae /src/im_file.cpp
parent9cc6fd6da62bc239bf22ced6ae24c0ffdd994b40 (diff)
Fixed: memory leak in imFileOpen.
Diffstat (limited to 'src/im_file.cpp')
-rw-r--r--src/im_file.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/im_file.cpp b/src/im_file.cpp
index 3bfa779..9a4519a 100644
--- a/src/im_file.cpp
+++ b/src/im_file.cpp
@@ -2,7 +2,7 @@
* \brief File Access
*
* See Copyright Notice in im_lib.h
- * $Id: im_file.cpp,v 1.5 2009/08/23 23:57:51 scuri Exp $
+ * $Id: im_file.cpp,v 1.6 2009/11/23 17:13:05 scuri Exp $
*/
#include <stdlib.h>
@@ -125,6 +125,7 @@ void imFileClose(imFile* ifile)
if (ifile->line_buffer) free(ifile->line_buffer);
delete attrib_table;
+ delete ifileformat;
}
void* imFileHandle(imFile* ifile, int index)