Fix memory leak caused by main library split
Evaluation Context wasn't freed for temporary mains.
This commit is contained in:
@@ -449,6 +449,7 @@ void blo_join_main(ListBase *mainlist)
|
||||
while ((tojoin = mainl->next)) {
|
||||
add_main_to_main(mainl, tojoin);
|
||||
BLI_remlink(mainlist, tojoin);
|
||||
MEM_freeN(tojoin->eval_ctx);
|
||||
MEM_freeN(tojoin);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user