Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2012-12-27 21:09:27 +0400
committerTon Roosendaal <ton@blender.org>2012-12-27 21:09:27 +0400
commitf0b872e7f147365f673d5cc4ea045417a4891211 (patch)
tree5d73d5a1a12f644870f93e4ac9f97c26b726db27 /source/blender/blenloader
parentbfcb1d4cde934fb30102bba2ed789d57a1c2d81d (diff)
Fix in previous commit: forgot to free data from file reading.
(Campbell: we want the memory prints back!!!)
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index c62acb57fda..e27f2464f9b 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -1149,6 +1149,8 @@ void blo_freefiledata(FileData *fd)
oldnewmap_free(fd->imamap);
if (fd->movieclipmap)
oldnewmap_free(fd->movieclipmap);
+ if (fd->packedmap)
+ oldnewmap_free(fd->packedmap);
if (fd->libmap && !(fd->flags & FD_FLAGS_NOT_MY_LIBMAP))
oldnewmap_free(fd->libmap);
if (fd->bheadmap)