Skip to content

Commit

Permalink
mi_script: fix previous commit
Browse files Browse the repository at this point in the history
This is the commit that actually resolves the memory leak

Thanks go to @Liviuc for reporting this

(cherry picked from commit ad02392)
  • Loading branch information
razvancrainea committed Aug 24, 2022
1 parent 1744b82 commit 0b51141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/mi_script/mi_script.c
Expand Up @@ -559,6 +559,7 @@ static void mi_script_async_resume_job(int sender, void *param)
} while (ret < 0 && (errno == EINTR || errno == EAGAIN));
if (ret < 0) {
LM_ERR("could not notify resume: %s\n", strerror(errno));
mi_script_async_job_free(job);
}
}

Expand Down

0 comments on commit 0b51141

Please sign in to comment.