Correct broken logic from revision 225405.
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 26 Oct 2009 22:03:29 +0000 (22:03 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 26 Oct 2009 22:03:29 +0000 (22:03 +0000)
commitad7a9fb8e883f2b92cb0dcc19143490805eef425
tree7987492ad578d888280a142374d57a013120256c
parentec0a1882c92552ecd0b06ac96585639d6bd120a6
Correct broken logic from revision 225405.

The code committed in revision 225405 was broken; instead of removing the unreference code,
the logic used to decide when to do it should have been reversed. This patch corrects the
situation, and makes reference counting work properly again.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@225955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/astobj2.c