Explorar o código

Execute pthread destroy in queue_free in trunk.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1341 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake %!s(int64=19) %!d(string=hai) anos
pai
achega
b2a537a90c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/queue.h

+ 1 - 0
include/queue.h

@@ -81,6 +81,7 @@ static inline int queue_reinit (struct queue *queue)
 }
 
 static inline void queue_free (struct queue *queue) {
+	pthread_mutex_destroy (&queue->mutex);
 	free (queue->items);
 }