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-solaris.c: Use g_free instead of free. Pointed out by
	Sam O'Connor <sam@panviva.com>.
This commit is contained in:
Sebastian Wilhelmi 2002-01-16 09:05:54 +00:00 committed by Sebastian Wilhelmi
parent cc164f7d5a
commit 26592710a2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-01-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gthread-solaris.c: Use g_free instead of free. Pointed out by
Sam O'Connor <sam@panviva.com>.
1999-03-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gthread-posix.c: Fixed broken mutex_trylock and slightly broken

View File

@ -58,7 +58,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