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:
Russell Bryant
2006-01-25 05:38:36 +00:00
parent e07c977f18
commit aca3c1f79d

View File

@@ -111,6 +111,7 @@ static void del_chan(char *name)
prev->next = chan->next;
else
chans = chan->next;
free(chan);
return;
}
prev = chan;