From: Corey Farrell Date: Sun, 13 Jul 2014 16:43:37 +0000 (+0000) Subject: Fix minor reference leaks in app_skel and TEST_FRAMEWORK X-Git-Tag: 11.12.0-rc1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a914e14d0615d6bafd37ac2a166110d881b41c6;p=thirdparty%2Fasterisk.git 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 --- 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); }