From 71c19043bd88e3196318d657124cd8fa54138041 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Thu, 10 Jan 2013 22:10:30 +0000 Subject: [PATCH] Fix compile error, due to different var names on merge. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@378912 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/pbx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/pbx.c b/main/pbx.c index 2915683f3a..049b398b6a 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -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 */