Fix #124470: MEM_new/MEM_freeN mismatch for uiEditSourceStore

Pull Request: https://projects.blender.org/blender/blender/pulls/124487
This commit is contained in:
Jesse Yurkovich
2024-07-11 00:03:51 +02:00
committed by Jesse Yurkovich
parent 57544887d0
commit e4bf3015a1

View File

@@ -2034,7 +2034,7 @@ static void ui_editsource_active_but_set(uiBut *but)
static void ui_editsource_active_but_clear()
{
BLI_ghash_free(ui_editsource_info->hash, nullptr, MEM_freeN);
MEM_freeN(ui_editsource_info);
MEM_delete(ui_editsource_info);
ui_editsource_info = nullptr;
}