Fix: memory leak in clip_buttons.cc

uiTemplateMarker could return early with a MarkerUpdateCb not freed,
now fixed.

Part of #120767

Pull Request: https://projects.blender.org/blender/blender/pulls/121101
This commit is contained in:
YimingWu
2024-04-26 04:01:34 +02:00
committed by YimingWu
parent 095d37c186
commit b9879b0ff7

View File

@@ -461,7 +461,7 @@ void uiTemplateMarker(uiLayout *layout,
0,
0,
"");
MEM_freeN(cb);
return;
}