]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorMathieu Rene <mrene@avgs.ca>
Mon, 5 Jan 2009 16:43:16 +0000 (16:43 +0000)
committerMathieu Rene <mrene@avgs.ca>
Mon, 5 Jan 2009 16:43:16 +0000 (16:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11071 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_limit/mod_limit.c

index ce31b64b7e1fbc397266c46b9d7bbbd17b5b4816..5ce75c6bccb70787dab5f877cf47a8a3bc7d1665 100644 (file)
@@ -319,7 +319,7 @@ static switch_status_t hash_state_handler(switch_core_session_t *session)
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Usage for %s is now %d\n", (const char*)key, item->total_usage);        
                }
                switch_core_event_hook_remove_state_change(session, hash_state_handler);
-               switch_mutex_unlock(globals.mutex);
+               switch_mutex_unlock(globals.limit_hash_mutex);
        }
        
        return SWITCH_STATUS_SUCCESS;