Fix for a memory leak during Freestyle stroke shading.

This commit is contained in:
Tamito Kajiyama
2013-05-13 22:50:12 +00:00
parent cd3283f573
commit 1a91af691e

View File

@@ -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;
}