bugfix for grease pencil freeing order.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 29 Oct 2010 07:11:45 +0000 (07:11 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 29 Oct 2010 07:11:45 +0000 (07:11 +0000)
commit6a9a49f8afe1e5825dc182eedff57a1c4d4290fe
tree9eef6bbce5f87cc93722131e38ca7c04afc68d13
parentb4a64185180737ddf60706e47d8f7630ee295266
bugfix for grease pencil freeing order.
it was freed before objects which would then decrease its usercount - accessing freed memory.

Also fixed error in own last commit.
source/blender/blenkernel/intern/library.c
source/blender/makesrna/intern/rna_image.c