When failing to configure, don't destroy 'cfg' twice
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Thu, 6 May 2010 07:27:31 +0000 (07:27 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Thu, 6 May 2010 07:27:31 +0000 (07:27 +0000)
commit6b2e51b1ed141550d4376fd2cfa16b144da21bcf
treeffb39f69e868f78e705ed774e347dcf54534b42c
parentf0a7adb3094bae29b1e81dbc6eba9f484fac9390
When failing to configure, don't destroy 'cfg' twice

Fixes a crash when some config section had an incorrect channel config.

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