From e5db7d222e1508178f4c147c1e32598e92d5a65a Mon Sep 17 00:00:00 2001 From: kanoi Date: Mon, 11 May 2015 08:03:01 +1000 Subject: [PATCH] ckdb - must remember to unlock locks ... --- src/ckdb.h | 2 +- src/ckdb_data.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckdb.h b/src/ckdb.h index 4c053ef3..be133eae 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -55,7 +55,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.0" -#define CKDB_VERSION DB_VERSION"-1.093" +#define CKDB_VERSION DB_VERSION"-1.094" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_data.c b/src/ckdb_data.c index 214eb81a..eedaff9b 100644 --- a/src/ckdb_data.c +++ b/src/ckdb_data.c @@ -990,7 +990,7 @@ void _workerstatus_update(AUTHS *auths, SHARES *shares, row->sharerej++; break; } - K_WLOCK(workerstatus_free); + K_WUNLOCK(workerstatus_free); } }