Bugfix: memory was leaking when opening a new file (Ctl-N). Reports were not being freed.
Brecht (or someone), can you check this?
This commit is contained in:
@@ -290,6 +290,7 @@ void wm_close_and_free(bContext *C, wmWindowManager *wm)
|
||||
BLI_freelistN(&wm->queue);
|
||||
|
||||
BLI_freelistN(&wm->paintcursors);
|
||||
BKE_reports_clear(&wm->reports);
|
||||
|
||||
if(C && CTX_wm_manager(C)==wm) CTX_wm_manager_set(C, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user