mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
Merged revisions 57648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r57648 | tilghman | 2007-03-03 00:36:55 -0600 (Sat, 03 Mar 2007) | 2 lines Memory leak of a list, if call recording was abandoned ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4163,6 +4163,10 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* If anything failed above, we still have this list to free */
|
||||
while ((vmtmp = AST_LIST_REMOVE_HEAD(&extensions, list)))
|
||||
free_user(vmtmp);
|
||||
return res ? res : cmd;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user