Fix the g_mutex_free in the fallback case
authorWim Taymans <wim.taymans@gmail.com>
Tue, 9 Jul 2002 15:45:14 +0000 (15:45 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 9 Jul 2002 15:45:14 +0000 (15:45 +0000)
Original commit message from CVS:
Fix the g_mutex_free in the fallback case

gst/gstatomic.h

index db1c4c2..587cbfe 100644 (file)
@@ -66,7 +66,7 @@ G_STMT_START {                                        \
   (ref)->lock = g_mutex_new();                 \
 } G_STMT_END
 
-#define GST_ATOMIC_INT_FREE(ref)               g_mutex_free (&(ref)->lock)
+#define GST_ATOMIC_INT_FREE(ref)               g_mutex_free ((ref)->lock)
 
 #define GST_ATOMIC_INT_SET(ref,val)            \
 G_STMT_START {                                 \