Fix: destroy the iochan manager mutex
authorDennis Schafroth <dennis@indexdata.com>
Tue, 4 May 2010 14:21:29 +0000 (16:21 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 4 May 2010 14:21:29 +0000 (16:21 +0200)
src/eventl.c

index 0f0d46b..faba34d 100644 (file)
@@ -95,6 +95,7 @@ void iochan_man_destroy(iochan_man_t *mp) {
             xfree(c);
             c = c_next;
         }
+        yaz_mutex_destroy(&(*mp)->iochan_mutex);
         xfree(*mp);
         *mp = 0;
     }