diff options
author | Jordy Zomer <jordy@pwning.systems> | 2021-06-15 12:34:23 +1000 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2021-06-15 12:35:57 +1000 |
commit | ec4df51414d34aff18c8473386b85c9ea53c44e0 (patch) | |
tree | 279b19cbcaa5d035bfbb513ad83764490f313319 /sql | |
parent | 2e33f574b37c7544d5b4d1c0e079cf65e29a1346 (diff) | |
download | mariadb-git-ec4df51414d34aff18c8473386b85c9ea53c44e0.tar.gz |
eventscheduler mismatch of my_{malloc,free}, delete
Fix malloc/delete mismatch. This causes a double free in the cleanup.
closes #1845
Diffstat (limited to 'sql')
-rw-r--r-- | sql/event_scheduler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc index 2a5399fb94a..423f7e6ea2b 100644 --- a/sql/event_scheduler.cc +++ b/sql/event_scheduler.cc @@ -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; } |