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:
Jordy Zomer 2021-06-15 12:34:23 +10:00 committed by Daniel Black
parent 2e33f574b3
commit ec4df51414

View file

@ -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;
}