diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-06 09:35:54 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-06 09:35:54 +0400 |
commit | bff75bafbd7608d5c9c79f51d2941a3c1b9d51bf (patch) | |
tree | 01e44ad1303d9ec61ae825b4de19d8baf7321c4f /intern/dualcon | |
parent | 90b22486c7058b8991bc228a12e8ee599a95d24d (diff) |
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.
Diffstat (limited to 'intern/dualcon')
0 files changed, 0 insertions, 0 deletions