Fix minor reference leaks in app_skel and TEST_FRAMEWORK
[asterisk/asterisk.git] / apps / app_skel.c
index 8a5b5bc..249b1b6 100644 (file)
@@ -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);
 }