fix for 2 crashes freeing masks
authorCampbell Barton <ideasman42@gmail.com>
Fri, 14 Sep 2012 01:15:08 +0000 (01:15 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 14 Sep 2012 01:15:08 +0000 (01:15 +0000)
commit883117077bedb57d76af6ccd894fca3fa45407d2
treeb89de7e37cbeee6dbc448eda152b037c19d59574
parent622ac250f94c6855d4deb5cee7156385badf62ae
fix for 2 crashes freeing masks
- freeing a mask from RNA BKE_libblock_free() twice on the mask.
- loading a new blend file would only free the mask and not unlink it from nodes - it would access freed memory.
source/blender/blenkernel/BKE_mask.h
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/mask.c
source/blender/blenkernel/intern/sequencer.c
source/blender/compositor/operations/COM_MaskOperation.cpp
source/blender/makesrna/intern/rna_main_api.c