Only re-add the io port if it was closed, otherwise reload causes a memory
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 28 Oct 2008 21:38:26 +0000 (21:38 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 28 Oct 2008 21:38:26 +0000 (21:38 +0000)
commite9d96775ad5a5b7fbe0bfbbf3c613fa49d6044f7
tree6cf112cbe7a64fc07186d25badd1a12690db3cea
parentdd049d429dab4ed667a9e625f03dcb648173d296
Only re-add the io port if it was closed, otherwise reload causes a memory
leak.
(closes issue #13785)
 Reported by: eliel
 Patches:
       chan_mgcp.c.patch uploaded by eliel (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_mgcp.c