-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3677/
-----------------------------------------------------------
(Updated June 27, 2014, 2:24 p.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers, Matt Jordan and rmudgett.
Changes
-------
Committed in revision 417500
Bugs: ASTERISK-23948
https://issues.asterisk.org/jira/browse/ASTERISK-23948
Repository: Asterisk
Description
-------
__ao2_ref_debug exits early when INTERNAL_OBJ returns NULL. When user_data !=
NULL and delta != 0 we should always write to ref_log. This change reorders
__ao2_ref_debug to delay the return for obj == NULL. Code that writes to
ref_log is modified to be safe with obj == NULL.
This code is slightly different in 11 (funcname parameter is named func). In
12+ a backtrace and assert were added to the existing obj == NULL block.
Patches for 11 and 12 can be viewed on JIRA.
Diffs
-----
/branches/1.8/main/astobj2.c 417247
Diff: https://reviewboard.asterisk.org/r/3677/diff/
Testing
-------
Thanks,
Corey Farrell
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev