Ticket #3625: ringbuffer.13709.txt

File ringbuffer.13709.txt, 406 bytes (added by Russell Bryant <russell@…>, 14 years ago)
Line 
1Index: libs/libmythtv/RingBuffer.cpp
2===================================================================
3--- libs/libmythtv/RingBuffer.cpp       (revision 13709)
4+++ libs/libmythtv/RingBuffer.cpp       (working copy)
5@@ -335,6 +335,9 @@
6         delete dvdPriv;
7     }
8 #endif // USING_FRONTEND   
9+   
10+    pthread_rwlock_unlock(&rwlock);
11+    pthread_rwlock_destroy(&rwlock);
12 }
13 
14 /** \fn RingBuffer::Start(void)