[svn-commits] branch 1.2 - r7915 /branches/1.2/file.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Jan 9 16:07:27 CST 2006


Author: russell
Date: Mon Jan  9 16:07:26 2006
New Revision: 7915

URL: http://svn.digium.com/view/asterisk?rev=7915&view=rev
Log:
add missing unlock (issue #6112)

Modified:
    branches/1.2/file.c

Modified: branches/1.2/file.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/file.c?rev=7915&r1=7914&r2=7915&view=diff
==============================================================================
--- branches/1.2/file.c (original)
+++ branches/1.2/file.c Mon Jan  9 16:07:26 2006
@@ -176,6 +176,7 @@
 		tmpl = tmp;
 		tmp = tmp->next;
 	}
+	ast_mutex_unlock(&formatlock);
 	ast_log(LOG_WARNING, "Tried to unregister format %s, already unregistered\n", name);
 	return -1;
 }



More information about the svn-commits mailing list