diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 02:57:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-30 02:57:46 +0300 |
commit | 5e091de0dc6be820a24bc9767107a809568e4b9f (patch) | |
tree | 8095f2dc70515496b0a346b6ebcacaa64947d137 /source/blender/editors/screen | |
parent | 817319a79ef36aad920ed1f8bbb7a617dabc697f (diff) |
Fix memory leak in workspace menu
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/workspace_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c index a6a85a0f201..ea7ddd85852 100644 --- a/source/blender/editors/screen/workspace_edit.c +++ b/source/blender/editors/screen/workspace_edit.c @@ -517,7 +517,7 @@ static int workspace_add_invoke(bContext *C, wmOperator *op, const wmEvent *UNUS BLI_path_to_display_name(display_name, sizeof(display_name), template); /* Steals ownership of link data string. */ - uiItemMenuF(layout, display_name, ICON_NONE, workspace_add_menu, template); + uiItemMenuFN(layout, display_name, ICON_NONE, workspace_add_menu, template); } BLI_freelistN(&templates); |