mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
Investigate and fix memory leaks in Asterisk
Fixed memory leaks that were found in Asterisk. ASTERISK-24693 #close Reported by: Kevin Harwell Review: https://reviewboard.asterisk.org/r/4347/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -610,6 +610,7 @@ static int parked_call_app_exec(struct ast_channel *chan, const char *data)
|
||||
}
|
||||
|
||||
/* The parked call needs to know who is retrieving it before we move it out of the parking bridge */
|
||||
ast_assert(pu->retriever == NULL);
|
||||
pu->retriever = ast_channel_snapshot_create(chan);
|
||||
|
||||
/* Create bridge */
|
||||
|
Reference in New Issue
Block a user