[Asterisk-code-review] res pjsip outbound registration.c: Use ast sorcery object un... (asterisk[master])

Richard Mudgett asteriskteam at digium.com
Thu Jun 25 14:40:32 CDT 2015


Richard Mudgett has uploaded a new patch set (#2).

Change subject: res_pjsip_outbound_registration.c: Use ast_sorcery_object_unregister() API
......................................................................

res_pjsip_outbound_registration.c: Use ast_sorcery_object_unregister() API

The sorcery pjsip 'registration' config object needs to be destroyed on
module unload.  Otherwise, a reload of res_pjsip could try to use
callbacks for a previously unloaded instance of the module provided by
ast_sorcery_object_register() or one of the variants.  Also, if
res_pjsip_outbound_registration were subsequently reloaded, the sorcery
config field objects would be registered in sorcery twice.

ASTERISK-24907
Reported by: Kevin Harwell

Change-Id: I304fad13dece2604af48353f6c6d9d5c7b064697
---
M res/res_pjsip_outbound_registration.c
1 file changed, 2 insertions(+), 0 deletions(-)


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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I304fad13dece2604af48353f6c6d9d5c7b064697
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list