Skip to content
Permalink
Browse files
eventscheduler mismatch of my_{malloc,free}, delete
Fix malloc/delete mismatch. This causes a double free in the cleanup.

closes #1845
  • Loading branch information
JordyZomer authored and grooverdan committed Jun 15, 2021
1 parent 2e33f57 commit ec4df51
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;
}

0 comments on commit ec4df51

Please sign in to comment.