Fix in previous commit: forgot to free data from file reading.
authorTon Roosendaal <ton@blender.org>
Thu, 27 Dec 2012 17:09:27 +0000 (17:09 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 27 Dec 2012 17:09:27 +0000 (17:09 +0000)
(Campbell: we want the memory prints back!!!)

source/blender/blenloader/intern/readfile.c

index c62acb5..e27f246 100644 (file)
@@ -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)