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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2016-02-23 21:48:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-02-23 21:50:18 +0300
commit48d399a321297c4fb968261e6f7fcc616b386d5d (patch)
treeca5a3e41ad0ac059fa759097e7e835f341c34596
parentb54b4eee3bb557b5c3bb2024a94559e131888895 (diff)
Fix memory leak in panel category update
-rw-r--r--source/blender/editors/interface/interface_panel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index f59f11c0da0..2fdd84b626b 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -1473,6 +1473,7 @@ void UI_panel_category_active_set(ARegion *ar, const char *idname)
pc_act_next = pc_act->next;
if (!BLI_findstring(&ar->type->paneltypes, pc_act->idname, offsetof(PanelType, category))) {
BLI_remlink(lb, pc_act);
+ MEM_freeN(pc_act);
}
}
}