Files
asterisk/main
Corey Farrell 4de95d4bf0 loader: Minor fix to module registration.
This protects the module loader itself against crashing if dlopen is
called on a module from outside loader.c.

* Expand scope of lock inside ast_module_register to include reading of
  resource_being_loaded.
* NULL check resource_being_loaded.
* Set resource_being_loaded NULL as soon as dlopen returns.  This fixes
  some error paths where it was not NULL'ed.
* Create module_destroy function to deduplicate code from
  ast_module_unregister and modules_shutdown.
* Resolve leak that occured if a module did not successfully register.
* Simplify checking for successful registration.

Change-Id: I40f07a315e55b92df4fc7faf525ed6d4f396e7d2
2017-12-15 10:44:26 -05:00
..
2017-11-17 09:35:22 -05:00
2017-11-20 15:05:14 -05:00
2017-11-20 15:09:02 -05:00
2017-11-20 15:25:57 -05:00
2017-12-10 12:41:51 -06:00
2017-05-30 15:08:05 -05:00
2017-10-24 17:17:53 -04:00
2017-12-06 23:35:53 -06:00
2016-11-01 12:37:58 -05:00