From 1cad189e32708d4f9cc5b0a649d4c07f1e1c3eff Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 19 Feb 2012 22:36:24 +0000 Subject: fix harmless but annoying memory leak prints, "newmem", now free all scanfill memory on exit. --- source/blender/windowmanager/intern/wm_init_exit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/windowmanager') 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 -- cgit v1.2.3