From 417438fea024beece6f4f31f923f8a139ce23e1e Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 9 Jan 2006 22:07:26 +0000 Subject: [PATCH] add missing unlock (issue #6112) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7915 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/file.c b/file.c index 4d0ffc34e4..76bf9a12ab 100644 --- a/file.c +++ b/file.c @@ -176,6 +176,7 @@ int ast_format_unregister(const char *name) tmpl = tmp; tmp = tmp->next; } + ast_mutex_unlock(&formatlock); ast_log(LOG_WARNING, "Tried to unregister format %s, already unregistered\n", name); return -1; }