Fix memory leak when dragging shaderfx
This commit is contained in:
parent
f891d4e2ad
commit
f66aafa391
|
@ -77,6 +77,7 @@ static void shaderfx_reorder(bContext *C, Panel *panel, int new_index)
|
|||
RNA_string_set(&props_ptr, "shaderfx", fx->name);
|
||||
RNA_int_set(&props_ptr, "index", new_index);
|
||||
WM_operator_name_call_ptr(C, ot, WM_OP_INVOKE_DEFAULT, &props_ptr);
|
||||
WM_operator_properties_free(&props_ptr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue