mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
eventscheduler mismatch of my_{malloc,free}, delete
Fix malloc/delete mismatch. This causes a double free in the cleanup. closes #1845
This commit is contained in:
parent
2e33f574b3
commit
ec4df51414
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ Event_scheduler::start(int *err_no)
|
|||
scheduler_thd= NULL;
|
||||
deinit_event_thread(new_thd);
|
||||
|
||||
delete scheduler_param_value;
|
||||
my_free(scheduler_param_value);
|
||||
ret= true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue