summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2002-01-16 09:03:52 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2002-01-16 09:03:52 +0000
commit926d797b5913fba5dd3ffda2cf843c01bd462c59 (patch)
tree81b50144e59c2ea5ce1eae1e324cc0d872387ed1
parent57638c1c5feb18cc76081c6b1c3e5dbfee0995f4 (diff)
Use g_free instead of free. Pointed out by Sam O'Connor <sam@panviva.com>.
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>.
-rw-r--r--gthread/ChangeLog5
-rw-r--r--gthread/gthread-solaris.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gthread/ChangeLog b/gthread/ChangeLog
index 5d853523b..e45fe6480 100644
--- a/gthread/ChangeLog
+++ b/gthread/ChangeLog
@@ -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,
diff --git a/gthread/gthread-solaris.c b/gthread/gthread-solaris.c
index 8469b7200..d30310478 100644
--- a/gthread/gthread-solaris.c
+++ b/gthread/gthread-solaris.c
@@ -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