Fix: new-free mismatch

Required since 06be295946a.
This commit is contained in:
Jacques Lucke 2024-07-04 11:38:53 +02:00
parent 103f3f261a
commit 4ec3f0c981

@ -251,7 +251,7 @@ void node_geometry_add_attribute_search_button(const bContext & /*C*/,
"");
const bNodeSocket &socket = *static_cast<const bNodeSocket *>(socket_ptr.data);
AttributeSearchData *data = MEM_new<AttributeSearchData>(__func__);
AttributeSearchData *data = MEM_cnew<AttributeSearchData>(__func__);
data->node_id = node.identifier;
STRNCPY(data->socket_identifier, socket.identifier);