Activate callback, remove memory leak

This commit is contained in:
Holger Vogt 2023-08-12 12:25:35 +02:00
parent 79e4b78a78
commit d173deea64
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ struct pwl {
/* Called at end to free memory. */
static void callback(ARGS, Mif_Callback_Reason_t reason)
static void cm_d_osc_callback(ARGS, Mif_Callback_Reason_t reason)
{
struct panel_instance *instance;
@ -70,6 +70,8 @@ void cm_d_osc(ARGS)
double ctl, delta, when;
int csize, i;
CALLBACK = cm_d_osc_callback;
csize = PARAM_SIZE(cntl_array);
if (INIT) {