From e1d80e9f7c4d2be53f286dd62349b49a06a8e636 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 3 May 2006 14:53:06 +0000 Subject: [PATCH] Free with free() and not g_free() what has been allocated with calloc(). 2006-05-03 Tor Lillqvist * gthread-win32.c (g_thread_exit_win32_impl): Free with free() and not g_free() what has been allocated with calloc(). (#340530, Jake Goulding) --- gthread/ChangeLog | 6 ++++++ gthread/gthread-win32.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 3abf51c69..d2547883e 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,9 @@ +2006-05-03 Tor Lillqvist + + * gthread-win32.c (g_thread_exit_win32_impl): Free with free() and + not g_free() what has been allocated with calloc(). (#340530, Jake + Goulding) + 2006-05-02 Matthias Clasen * === Released 2.11.0 === diff --git a/gthread/gthread-win32.c b/gthread/gthread-win32.c index e3e74c24b..72a0724b5 100644 --- a/gthread/gthread-win32.c +++ b/gthread/gthread-win32.c @@ -443,7 +443,7 @@ g_thread_exit_win32_impl (void) } } while (some_data_non_null); - g_free (array); + free (array); win32_check_for_error (TlsSetValue (g_private_tls, NULL)); }