Eliminate several needless checks and fix a few memory leaks
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 28 May 2009 15:35:23 +0000 (15:35 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 28 May 2009 15:35:23 +0000 (15:35 +0000)
commit98ce0e5b6c811ff8037e3267323f39a046c0badc
treeccd75c3d71febe30e9333c58f5acfa463b350934
parente37ee42e6c29a22fab370b109cbc2182b4ccd386
Eliminate several needless checks and fix a few memory leaks
(closes issue #14833)
 Reported by: contactmayankjain
 Patches:
       all_changes.patch uploaded by contactmayankjain (license 740)
       slightly modified by me

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_rpt.c
channels/chan_console.c
channels/chan_dahdi.c
main/astobj2.c
main/cli.c