diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-20 02:36:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-20 02:36:24 +0400 |
commit | 1cad189e32708d4f9cc5b0a649d4c07f1e1c3eff (patch) | |
tree | fcbb86e55042b96c99bf0e4bc54670910cc111e5 /source/blender/windowmanager | |
parent | a368e6771a5f707f41f5959c345943cad07ef7e8 (diff) |
fix harmless but annoying memory leak prints, "newmem", now free all scanfill memory on exit.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_init_exit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c index e36d9c0b0ab..1ae03ca9f6f 100644 --- a/source/blender/windowmanager/intern/wm_init_exit.c +++ b/source/blender/windowmanager/intern/wm_init_exit.c @@ -63,6 +63,7 @@ #include "BKE_tracking.h" /* free tracking clipboard */ #include "BLI_listbase.h" +#include "BLI_scanfill.h" #include "BLI_string.h" #include "BLI_utildefines.h" @@ -387,6 +388,8 @@ void WM_exit_ext(bContext *C, const short do_python) BLF_exit(); + BLI_scanfill_free(); /* the order this is called doesn't matter */ + #ifdef WITH_INTERNATIONAL BLF_free_unifont(); #endif |