소스 검색

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 19 년 전
부모
커밋
b2a537a90c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
 }