diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-08-30 21:42:08 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-08-30 21:42:08 +0400 |
commit | 4e13a659bb40b66c19d4b15a885705fc23294454 (patch) | |
tree | 1a23b3aaf747768a667bf5458454b94d2dee200a /intern/opennl | |
parent | b25ca62f20d03b400454156e5b26b26e469844dc (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.c | 2 |
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); |