summaryrefslogtreecommitdiff
path: root/gthread/gthread-solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'gthread/gthread-solaris.c')
-rw-r--r--gthread/gthread-solaris.c2
1 files changed, 1 insertions, 1 deletions
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