]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_outbound_registration.c: Reorder load_module() and unload_module(). 04/704/2
authorRichard Mudgett <rmudgett@digium.com>
Mon, 15 Jun 2015 18:38:58 +0000 (13:38 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 25 Jun 2015 19:30:48 +0000 (14:30 -0500)
commit77ff7325a221160f0aef856a282ae6de6f5d8088
tree61308e5b7cf740e9c606ca90b10f2ece4bed8312
parent3f1fe83633e644be8a9983df50ce2213f63a5f9a
res_pjsip_outbound_registration.c: Reorder load_module() and unload_module().

It is best if the loading code creates and initializes the module's
infrastructure before letting the system know of its existence.  The
unloading code needs to reverse the actions of the loading code and in the
reverse order.

ASTERISK-24907
Reported by: Kevin Harwell

Change-Id: I5d151383e9787b5b60aa5e1627b10f040acdded4
res/res_pjsip_outbound_registration.c