From 7a914e14d0615d6bafd37ac2a166110d881b41c6 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Sun, 13 Jul 2014 16:43:37 +0000 Subject: [PATCH] Fix minor reference leaks in app_skel and TEST_FRAMEWORK * Cleanup games object in app_skel. * Cleanup stasis subscription to TEST_FRAMEWORK in manager.c (12+). Review: https://reviewboard.asterisk.org/r/3757/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@418465 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_skel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_skel.c b/apps/app_skel.c index ca96fa08f7..a184ea048b 100644 --- a/apps/app_skel.c +++ b/apps/app_skel.c @@ -645,6 +645,7 @@ static int unload_module(void) ast_cli_unregister_multiple(skel_cli, ARRAY_LEN(skel_cli)); aco_info_destroy(&cfg_info); ao2_global_obj_release(globals); + ao2_cleanup(games); return ast_unregister_application(app); }