]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix compile error, due to different var names on merge.
authorJason Parker <jparker@digium.com>
Thu, 10 Jan 2013 22:10:30 +0000 (22:10 +0000)
committerJason Parker <jparker@digium.com>
Thu, 10 Jan 2013 22:10:30 +0000 (22:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@378912 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/pbx.c

index 2915683f3a00779b5455c6399710c5eb4bc82242..049b398b6ad1316b96338ec291f0197c2e20c58c 100644 (file)
@@ -11069,9 +11069,9 @@ static void unload_pbx(void)
        if (device_state_sub) {
                device_state_sub = ast_event_unsubscribe(device_state_sub);
        }
-       if (device_state_tps) {
-               ast_taskprocessor_unreference(device_state_tps);
-               device_state_tps = NULL;
+       if (extension_state_tps) {
+               ast_taskprocessor_unreference(extension_state_tps);
+               extension_state_tps = NULL;
        }
 
        /* Unregister builtin applications */