[Asterisk-code-review] astobj2: Header macro's should deal with error's from ao2 ref. (asterisk[13])

Corey Farrell asteriskteam at digium.com
Fri Sep 9 12:53:38 CDT 2016


Hello Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/3872

to look at the new patch set (#2).

Change subject: astobj2: Header macro's should deal with error's from ao2_ref.
......................................................................

astobj2: Header macro's should deal with error's from ao2_ref.

* ao2_t_bump - return NULL.
* ao2_t_replace - set the destination to NULL.
* ao2_ref_and_lock - return 0 to indicate failure.

ASTERISK-26351 #close

Change-Id: I5e06d27fb6667f54c960023aa3b93d95b07147de
---
M include/asterisk/astobj2.h
1 file changed, 12 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/72/3872/2
-- 
To view, visit https://gerrit.asterisk.org/3872
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5e06d27fb6667f54c960023aa3b93d95b07147de
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Anonymous Coward #1000019



More information about the asterisk-code-review mailing list