[asterisk-commits] branch 1.2 - r7899 /branches/1.2/db.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jan 9 12:09:54 CST 2006
Author: kpfleming
Date: Mon Jan 9 12:09:53 2006
New Revision: 7899
URL: http://svn.digium.com/view/asterisk?rev=7899&view=rev
Log:
backport fix from revision 7856 of trunk
Modified:
branches/1.2/db.c
Modified: branches/1.2/db.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/db.c?rev=7899&r1=7898&r2=7899&view=diff
==============================================================================
--- branches/1.2/db.c (original)
+++ branches/1.2/db.c Mon Jan 9 12:09:53 2006
@@ -121,8 +121,10 @@
}
ast_mutex_lock(&dblock);
- if (dbinit())
+ if (dbinit()) {
+ ast_mutex_unlock(&dblock);
return -1;
+ }
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
More information about the asterisk-commits
mailing list