summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2014-07-13 16:48:48 +0000
committerCorey Farrell <git@cfware.com>2014-07-13 16:48:48 +0000
commitf4a30ad32e7e7ce12ef843fa6cdd90624c65ca79 (patch)
tree7590e7465aa049edfeaf1af62513725688ffc5a5 /apps
parent6461d90d8a1568b5f6709a9556690e1d6a9110ae (diff)
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/ ........ Merged revisions 418465 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 418466 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_skel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_skel.c b/apps/app_skel.c
index 8a5b5bc75..249b1b675 100644
--- a/apps/app_skel.c
+++ b/apps/app_skel.c
@@ -702,6 +702,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);
}