[Asterisk-code-review] loader: Create ast module running ref. (asterisk[master])

Kevin Harwell asteriskteam at digium.com
Wed Jan 3 16:58:38 CST 2018


Kevin Harwell has posted comments on this change. ( https://gerrit.asterisk.org/7770 )

Change subject: loader: Create ast_module_running_ref.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/7770/1/main/cli.c
File main/cli.c:

https://gerrit.asterisk.org/#/c/7770/1/main/cli.c@2683
PS1, Line 2683: 				if (!e->module || ast_module_running_ref(e->module)) {
> The NULL check is needed as ast_module_running_ref will return NULL for CLI
Ah yeah okay that makes sense. It's similar to the other.



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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia16fd28e188b2fc0b9d18b8a5d9cacc31df73fcc
Gerrit-Change-Number: 7770
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Comment-Date: Wed, 03 Jan 2018 22:58:38 +0000
Gerrit-HasComments: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180103/3dd0848c/attachment.html>


More information about the asterisk-code-review mailing list