Fix memory leaks when doing "Save & Quit"
authorJulian Eisel <eiseljulian@gmail.com>
Thu, 22 Mar 2018 22:29:48 +0000 (23:29 +0100)
committerJulian Eisel <eiseljulian@gmail.com>
Thu, 22 Mar 2018 22:29:48 +0000 (23:29 +0100)
commita4ea46ffc5570499078c0caeba55121f709e5ee7
treea6f4b3c8f6e6df0ce431ed7a5e07ea0f5dffa8be
parent4cb4556fa5ba78fff69cf2f6cb1d156d1705a5c5
Fix memory leaks when doing "Save & Quit"

Steps to reproduce were:
* Open Blender (no need for factory settings, "Promt Quit" needs to be enabled)
* Edit the file (e.g. translate some object)
* Quit Blender but don't skip quit promt
* Press "Save & Quit"
* Save the file

Not sure if Windows supports the "Save & Quit" behavior, so this may not have
applied to Windows.
source/blender/windowmanager/intern/wm_files.c