Free with free() and not g_free() what has been allocated with calloc().

2006-05-03  Tor Lillqvist  <tml@novell.com>

	* gthread-win32.c (g_thread_exit_win32_impl): Free with free() and
	not g_free() what has been allocated with calloc(). (#340530, Jake
	Goulding)
diff --git a/gthread/ChangeLog b/gthread/ChangeLog
index 56a9bf8..36d3e80 100644
--- a/gthread/ChangeLog
+++ b/gthread/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-03  Tor Lillqvist  <tml@novell.com>
+
+	* 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-02-20  Tor Lillqvist  <tml@novell.com>
 
 	* gthread-win32.c (g_thread_exit_win32_impl): Make the
diff --git a/gthread/gthread-win32.c b/gthread/gthread-win32.c
index e90bc60..05891bd 100644
--- a/gthread/gthread-win32.c
+++ b/gthread/gthread-win32.c
@@ -433,7 +433,7 @@
 	  }
       } while (some_data_non_null);
 
-      g_free (array);
+      free (array);
 
       win32_check_for_error (TlsSetValue (g_private_tls, NULL));
     }