summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2005-04-28 18:42:13 +0000
committerdeva <deva>2005-04-28 18:42:13 +0000
commit08f8e358e17f4f2b04d9e9b6b3a049d7a195b46e (patch)
treea05f17df138b82bffb442e648718ef6a03921606
parent876299a73bd4517e070ee3b349d41d37d1fd7957 (diff)
*** empty log message ***
-rw-r--r--src/queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/queue.h b/src/queue.h
index a18b783..e93d7a4 100644
--- a/src/queue.h
+++ b/src/queue.h
@@ -106,6 +106,7 @@ void Queue<T>::push(T *t)
if(locked) {
delete t;
+ pthread_mutex_unlock(&mutex);
return;
}