Fix #32402: live unwrap memory leak, more noticeable if you have many UV's pinned.

This commit is contained in:
Brecht Van Lommel 2012-08-30 17:42:08 +00:00
parent b25ca62f20
commit 4e13a659bb

@ -569,6 +569,8 @@ void nlDeleteContext(NLContext context_in) {
__NL_DELETE(context->variable[i].a);
}
}
__NL_DELETE_ARRAY(context->variable);
}
if(context->alloc_b) {
__NL_DELETE_ARRAY(context->b);