mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
Fixed memory leak in Item_func_sp::cleanup().
This commit is contained in:
parent
281c0a8130
commit
406ea35128
1 changed files with 2 additions and 0 deletions
|
@ -1301,6 +1301,8 @@ public:
|
|||
|
||||
void cleanup()
|
||||
{
|
||||
if (result_field)
|
||||
delete result_field;
|
||||
Item_func::cleanup();
|
||||
result_field= NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue