fix [#27158] Appending crash with preview.
authorAndrea Weikert <elubie@gmx.net>
Wed, 18 May 2011 19:42:30 +0000 (19:42 +0000)
committerAndrea Weikert <elubie@gmx.net>
Wed, 18 May 2011 19:42:30 +0000 (19:42 +0000)
commitc04f9b779c4384f3cc6961b2ed54456bdab14f43
treeef03665fdb965eac3636f89e837344723ed7a2ec
parent91bd739a093f8bb3613f52b6a0edeacfd8c09d66
fix [#27158] Appending crash with preview.
* fixed incorrect reading of PreviewImage struct from .blend
* fixed memory leak, PreviewImage data wasn't correctly free'd
source/blender/blenkernel/BKE_icons.h
source/blender/blenkernel/intern/icons.c
source/blender/blenloader/BLO_readfile.h
source/blender/blenloader/intern/readblenentry.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/space_file/filelist.c