Fix #32402: live unwrap memory leak, more noticeable if you have many UV's pinned.
This commit is contained in:
@@ -569,6 +569,8 @@ void nlDeleteContext(NLContext context_in) {
|
|||||||
__NL_DELETE(context->variable[i].a);
|
__NL_DELETE(context->variable[i].a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__NL_DELETE_ARRAY(context->variable);
|
||||||
}
|
}
|
||||||
if(context->alloc_b) {
|
if(context->alloc_b) {
|
||||||
__NL_DELETE_ARRAY(context->b);
|
__NL_DELETE_ARRAY(context->b);
|
||||||
|
Reference in New Issue
Block a user