mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
don't leak almost 200 bytes for each new channel (issue #6330)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -111,6 +111,7 @@ static void del_chan(char *name)
|
||||
prev->next = chan->next;
|
||||
else
|
||||
chans = chan->next;
|
||||
free(chan);
|
||||
return;
|
||||
}
|
||||
prev = chan;
|
||||
|
Reference in New Issue
Block a user