From: Jason Parker Date: Thu, 10 Jan 2013 22:10:30 +0000 (+0000) Subject: Fix compile error, due to different var names on merge. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c19043bd88e3196318d657124cd8fa54138041;p=thirdparty%2Fasterisk.git 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 --- 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 */