Make ao2 global objects not always use the debug version of the ao2_ref() calls.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 14 May 2013 19:03:26 +0000 (19:03 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 14 May 2013 19:03:26 +0000 (19:03 +0000)
commitd1d1425327378e16e77e7de6e64daccf289b4cc3
treeb5d805a65772466efe7cb1b91c7c24979eb996d9
parent2a9cbd693e2016ecaa1e2e31ca520a9dd48f0ca2
Make ao2 global objects not always use the debug version of the ao2_ref() calls.

The debug versions of ao2_ref() should only be used if REF_DEBUG is
enabled so nothing is written to /tmp/refs unexpectedly.

(closes issue ASTERISK-21785)
Reported by: abelbeck
Patches:
      jira_asterisk_21785_v11.patch (license #5621) patch uploaded by rmudgett
Tested by: abelbeck
........

Merged revisions 388700 from http://svn.asterisk.org/svn/asterisk/branches/11

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