[Asterisk-code-review] func periodic hook.c: Cleanup module resources on failure. (asterisk[master])

Richard Mudgett asteriskteam at digium.com
Fri Oct 5 07:49:19 CDT 2018


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

Change subject: func_periodic_hook.c: Cleanup module resources on failure.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/10439/1/funcs/func_periodic_hook.c
File funcs/func_periodic_hook.c:

https://gerrit.asterisk.org/#/c/10439/1/funcs/func_periodic_hook.c@449
PS1, Line 449: 	ast_custom_function_unregister(&hook_function);
> Maybe in master we should just remove the return value from ast_custom_function_unregister or have i […]
Making it a void function would definitely force cleanup of the silly code in callers. :)



-- 
To view, visit https://gerrit.asterisk.org/10439
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I280fc6e8ba2a7ee2588ca01d870eebaf74b4ffe6
Gerrit-Change-Number: 10439
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Fri, 05 Oct 2018 12:49:19 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181005/98cb4558/attachment-0001.html>


More information about the asterisk-code-review mailing list