Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-08-30 21:42:08 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-08-30 21:42:08 +0400
commit4e13a659bb40b66c19d4b15a885705fc23294454 (patch)
tree1a23b3aaf747768a667bf5458454b94d2dee200a /intern/opennl
parentb25ca62f20d03b400454156e5b26b26e469844dc (diff)
Fix #32402: live unwrap memory leak, more noticeable if you have many UV's pinned.
Diffstat (limited to 'intern/opennl')
-rw-r--r--intern/opennl/intern/opennl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/opennl/intern/opennl.c b/intern/opennl/intern/opennl.c
index 20b4c0a6681..71809cc7480 100644
--- a/intern/opennl/intern/opennl.c
+++ b/intern/opennl/intern/opennl.c
@@ -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);