mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
app_cdr and res_parking: Fix some resource leaks.
* app_cdr left the ResetCDR application registered. * res_parking leaked a ref to config global. (closes issue ASTERISK-22566) Reported by: Corey Farrell Patches: ASTERISK-22566-r2.patch (license #5909) patch uploaded by Corey Farrell git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@400020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1169,6 +1169,7 @@ static int unload_module(void)
|
||||
ao2_cleanup(parking_lot_container);
|
||||
parking_lot_container = NULL;
|
||||
aco_info_destroy(&cfg_info);
|
||||
ao2_global_obj_release(globals);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user