Free static mutex'es
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 12 May 2011 01:28:01 +0000 (21:28 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 12 May 2011 01:28:01 +0000 (21:28 -0400)
src/hb-mutex-private.hh

index be0f687..24b6d9a 100644 (file)
@@ -100,6 +100,7 @@ struct hb_mutex_t
 struct hb_static_mutex_t : hb_mutex_t
 {
   hb_static_mutex_t (void)  { this->init (); }
+  ~hb_static_mutex_t (void) { this->free (); }
 
   private:
   NO_COPY (hb_static_mutex_t);