Missed a line from a bad merge in r390122
authorDavid M. Lee <dlee@digium.com>
Thu, 30 May 2013 19:23:53 +0000 (19:23 +0000)
committerDavid M. Lee <dlee@digium.com>
Thu, 30 May 2013 19:23:53 +0000 (19:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390154 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/app.c

index f82f758..03c1a1e 100644 (file)
@@ -2829,7 +2829,7 @@ static void app_cleanup(void)
 
 int app_init(void)
 {
-       ast_register_atexit(app_cleanup);
+       ast_register_cleanup(app_cleanup);
 
        if (STASIS_MESSAGE_TYPE_INIT(ast_mwi_state_type) != 0) {
                return -1;