mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
res_stasis_recording: Fix memory leak of the absolute name.
........ Merged revisions 409422 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@409423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -351,6 +351,7 @@ static void recording_dtor(void *obj)
|
|||||||
{
|
{
|
||||||
struct stasis_app_recording *recording = obj;
|
struct stasis_app_recording *recording = obj;
|
||||||
|
|
||||||
|
ast_free(recording->absolute_name);
|
||||||
ao2_cleanup(recording->options);
|
ao2_cleanup(recording->options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user