[asterisk-commits] coreyfarrell: branch 11 r418465 - /branches/11/apps/app_skel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 13 11:43:41 CDT 2014


Author: coreyfarrell
Date: Sun Jul 13 11:43:37 2014
New Revision: 418465

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=418465
Log:
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/

Modified:
    branches/11/apps/app_skel.c

Modified: branches/11/apps/app_skel.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/apps/app_skel.c?view=diff&rev=418465&r1=418464&r2=418465
==============================================================================
--- branches/11/apps/app_skel.c (original)
+++ branches/11/apps/app_skel.c Sun Jul 13 11:43:37 2014
@@ -645,6 +645,7 @@
 	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);
 }
 




More information about the asterisk-commits mailing list