Unregister additional applications (bug #539)
authorMark Spencer <markster@digium.com>
Mon, 17 Nov 2003 06:20:09 +0000 (06:20 +0000)
committerMark Spencer <markster@digium.com>
Mon, 17 Nov 2003 06:20:09 +0000 (06:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1758 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index a030b72..6bef7bb 100755 (executable)
@@ -2930,7 +2930,9 @@ int unload_module(void)
        int res;
        STANDARD_HANGUP_LOCALUSERS;
        res = ast_unregister_application(app);
+       res |= ast_unregister_application(capp);
        res |= ast_unregister_application(app2);
+       res |= ast_unregister_application(capp2);
        sql_close();
        return res;
 }