Fix #125074: MEM_new/MEM_freeN mismatch in selection pick code
This is due to the pointer free mismatch. Pull Request: https://projects.blender.org/blender/blender/pulls/125163
This commit is contained in:
committed by
Jesse Yurkovich
parent
9f61ef74e7
commit
0fe0c04d2a
@@ -2661,7 +2661,7 @@ static bool ed_object_select_pick(bContext *C,
|
||||
/* Let the menu handle any further actions. */
|
||||
if (has_menu) {
|
||||
if (gpu != nullptr) {
|
||||
MEM_freeN(gpu);
|
||||
MEM_delete(gpu);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user