Use g_free instead of free. Pointed out by Sam O'Connor <sam@panviva.com>.
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Wed, 16 Jan 2002 09:03:52 +0000 (09:03 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Wed, 16 Jan 2002 09:03:52 +0000 (09:03 +0000)
2002-01-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gthread-posix.c: Use g_free instead of free. Pointed out by Sam
O'Connor <sam@panviva.com>.

gthread/ChangeLog
gthread/gthread-solaris.c

index 5d853523b20c65739b4a9ae668fd97aa45dd07bf..e45fe6480cfde58874afb9b92c7d433900a02679 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread-posix.c: Use g_free instead of free. Pointed out by Sam
+       O'Connor <sam@panviva.com>.
+
 2001-10-23  Tor Lillqvist  <tml@iki.fi>
 
        * Makefile.am: (Win32): If we have built the MSVC import library,
index 8469b72005bcae7d8b8826d048a6b27f47bac75b..d3031047820dd2f70c73b3f9baacc876a68fef87 100644 (file)
@@ -77,7 +77,7 @@ static void
 g_mutex_free_solaris_impl (GMutex * mutex)
 {
   solaris_check_for_error (mutex_destroy ((mutex_t *) mutex));
-  free (mutex);
+  g_free (mutex);
 }
 
 /* NOTE: the functions g_mutex_lock and g_mutex_unlock may not use