[Asterisk-code-review] endpoint snapshot: avoid second cleanup on alloc failure (asterisk[master])
Ashley Sanders
asteriskteam at digium.com
Fri Sep 4 11:31:27 CDT 2015
Ashley Sanders has posted comments on this change.
Change subject: endpoint snapshot: avoid second cleanup on alloc failure
......................................................................
Patch Set 1:
(1 comment)
https://gerrit.asterisk.org/#/c/1183/1/main/endpoints.c
File main/endpoints.c:
Line 484: ao2_cleanup(snapshot);
I wonder why you didn't just remove this call to ao2_cleanup?
--
To view, visit https://gerrit.asterisk.org/1183
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If4d9dfb1bbe3836b623642ec690b6d49b25e8979
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Scott Griepentrog <sgriepentrog at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Ashley Sanders <asanders at digium.com>
Gerrit-HasComments: Yes
More information about the asterisk-code-review
mailing list