[Asterisk-code-review] core: Remove non-critical cleanup from startup aborts. (asterisk[15])

Richard Mudgett asteriskteam at digium.com
Tue Mar 13 09:48:44 CDT 2018


Richard Mudgett has posted comments on this change. ( https://gerrit.asterisk.org/8499 )

Change subject: core: Remove non-critical cleanup from startup aborts.
......................................................................


Patch Set 2:

(1 comment)

https://gerrit.asterisk.org/#/c/8499/2/main/media_cache.c
File main/media_cache.c:

https://gerrit.asterisk.org/#/c/8499/2/main/media_cache.c@648
PS2, Line 648: 	ao2_ref(media_cache, -1);
> Seems like it's no longer a bug, this code is only reachable if the system 
Yes it is no longer a bug.  However, for safety, it should still be changed to an ao2_cleanup() since it is a destructor.



-- 
To view, visit https://gerrit.asterisk.org/8499
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: comment
Gerrit-Change-Id: Iecc2df98008b21509925ff16740bd5fa29527db3
Gerrit-Change-Number: 8499
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Tue, 13 Mar 2018 14:48:44 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180313/9be6f34b/attachment-0001.html>


More information about the asterisk-code-review mailing list