- added RNA_struct_free_extension rather then having the funcs in each unregister...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 16 Aug 2009 07:26:29 +0000 (07:26 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 16 Aug 2009 07:26:29 +0000 (07:26 +0000)
commitd776dcf795c838996af16fca27922cec61d84b28
tree09d3c99d48353a6ba53858505d1d4259f8d905c7
parentd86663ee1a4e845afd15752bac6dfb05dd675f69
- added RNA_struct_free_extension rather then having the funcs in each unregister func.
- use RNA_struct_blender_type_set to set the type to NULL before its freed

There is a memory error here when reloading scripts - ui_handler_panel_region, need to look into theis further.
source/blender/editors/interface/interface_panel.c
source/blender/makesrna/RNA_define.h
source/blender/makesrna/intern/rna_define.c
source/blender/makesrna/intern/rna_render.c
source/blender/makesrna/intern/rna_ui.c