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)
This commit is contained in:
Tor Lillqvist 2006-05-03 14:50:48 +00:00 committed by Tor Lillqvist
parent cdfd413740
commit 23e8756295
2 changed files with 7 additions and 1 deletions

View File

@ -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-04-07 Matthias Clasen <mclasen@redhat.com>
* === Released 2.10.2 ===

View File

@ -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));
}