Fix crash calling wm.open_mainfile from menu with --debug-memory enabled
authorJulian Eisel <eiseljulian@gmail.com>
Thu, 1 Sep 2016 14:55:01 +0000 (16:55 +0200)
committerJulian Eisel <eiseljulian@gmail.com>
Thu, 1 Sep 2016 14:55:01 +0000 (16:55 +0200)
commit96dd1943afc4f08e4befb44602a3c621a446c678
treea6711c5cee8eb1f506c29fe9295fb3ebe6ceba1a
parente240025276648218c19d3fb7dbd5af92253b7718
Fix crash calling wm.open_mainfile from menu with --debug-memory enabled

Didn't do any bisecting, but guess it's caused rBb54e95a5c8dcb7 (2.74 is fine, 2.75 isn't).
I think this fix makes some other hacks redundant but need to check details (will do when we're back to bcon1 to avoid regressions).
source/blender/windowmanager/intern/wm_operators.c