Fix memory leak when dragging shaderfx

This commit is contained in:
Hans Goudey 2020-07-03 10:37:58 -04:00
parent f891d4e2ad
commit f66aafa391
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
/**