diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-06-30 19:59:29 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-06-30 20:03:02 +0300 |
commit | 49a35033be60e58ed4910346bc29ffa1954b34ec (patch) | |
tree | c92fb52f035a1df2b71c19cb51f1679c6f027efe /source/blender/makesdna/intern | |
parent | b43cdc91ce4188e2fc18ff6646781ff03fbfd693 (diff) |
Fix T51877: Deleting a scene uses freed memory
At the moment libblock_remap_data_preprocess is using
FOREACH_SCENE_OBJECT to iterate over all the objects of the scene and
unlink them.
However we were storing a reference to the Base of the removed object.
Anyways, the loop is now sanitized so that this crash no longer happens.
Also now we have an unittest for this.
Diffstat (limited to 'source/blender/makesdna/intern')
0 files changed, 0 insertions, 0 deletions