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:53:06 +00:00 committed by Tor Lillqvist
parent 9208517188
commit e1d80e9f7c
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-05-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.11.0 ===

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