Fix for a memory leak during Freestyle stroke shading.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user