Blender Git Loki
Git Commits -> Revision bff75ba
Revision bff75ba by Brecht Van Lommel (master) August 6, 2013, 05:35 (GMT) |
Fix crash loading .blend files that have multiple outliners in a screen, saved with recent outliner optimizations (revision 58855, 3 days ago), in any Blender version before this commit. On current Blender it would give a double free warning in the console. The problem is that it creates a temporary TreeStore on file save. However if you have multiple outliners this memory block would always be at the same memory address making it no longer unique. That then meant old memory address lookups on file read were failing. Solution now is to postpone freeing these temporary memory blocks until the end so that they are at unique addresses. |
Commit Details:
Full Hash: bff75bafbd7608d5c9c79f51d2941a3c1b9d51bf
SVN Revision: 58959
Parent Commit: 90b2248
Lines Changed: +31, -11
1 Modified Path:
/source/blender/blenloader/intern/writefile.c (+31, -11) (Diff)