Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-30 02:57:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-30 02:57:46 +0300
commit5e091de0dc6be820a24bc9767107a809568e4b9f (patch)
tree8095f2dc70515496b0a346b6ebcacaa64947d137 /source/blender/editors/screen/workspace_edit.c
parent817319a79ef36aad920ed1f8bbb7a617dabc697f (diff)
Fix memory leak in workspace menu
Diffstat (limited to 'source/blender/editors/screen/workspace_edit.c')
-rw-r--r--source/blender/editors/screen/workspace_edit.c2
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);