[fix](memory) Fix Aggregation null key memory leak due to incorrect aggfunc destroy #19201
This commit is contained in:
@ -1778,6 +1778,9 @@ void AggregationNode::_close_with_serialized_key() {
|
||||
mapped = nullptr;
|
||||
}
|
||||
});
|
||||
if (data.has_null_key_data()) {
|
||||
_destroy_agg_status(data.get_null_key_data());
|
||||
}
|
||||
},
|
||||
_agg_data->_aggregated_method_variant);
|
||||
release_tracker();
|
||||
|
||||
Reference in New Issue
Block a user