diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-05-14 02:50:12 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-05-14 02:50:12 +0400 |
commit | 1a91af691e984714204aa55326245c79a0b06fb8 (patch) | |
tree | 62597f27b893fdcb0ab4f61fdcaa44053807097d /source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp | |
parent | cd3283f573164bd30a2dd926bb6475da311eb188 (diff) |
Fix for a memory leak during Freestyle stroke shading.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp b/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp index c0372a10aef..eb175eb7bca 100644 --- a/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp +++ b/source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp @@ -532,6 +532,7 @@ static int StrokeAttribute_color_set(BPy_StrokeAttribute *self, PyObject *value, return -1; } self->sa->setColor(v->x(), v->y(), v->z()); + delete v; return 0; } |