1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-25481 Memory leak in Cached_item_str::Cached_item_str WITH TIES involving a blob

Make sure to call cached item's destructors.
This commit is contained in:
Vicențiu Ciorbaru
2021-06-29 00:12:03 +03:00
parent 63e9a05440
commit c29f45ce77
3 changed files with 21 additions and 0 deletions

View File

@@ -14231,6 +14231,7 @@ void JOIN::cleanup(bool full)
// Run Cached_item DTORs!
group_fields.delete_elements();
order_fields.delete_elements();
/*
We can't call delete_elements() on copy_funcs as this will cause