summaryrefslogtreecommitdiff
path: root/gthread/gthread-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2006-05-03 14:47:40 +0000
committerTor Lillqvist <tml@src.gnome.org>2006-05-03 14:47:40 +0000
commitb567a277562f648e44c2d0954288e68341b57273 (patch)
tree62e4b32975791bee93cb3d56fbaf85b72ebf06dd /gthread/gthread-win32.c
parent99bd4aadd4dcd610f91fc7d45d484dacfe86992f (diff)
downloadglib-2-8.tar.gz
Free with free() and not g_free() what has been allocated with calloc().glib-2-8
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)
Diffstat (limited to 'gthread/gthread-win32.c')
-rw-r--r--gthread/gthread-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gthread/gthread-win32.c b/gthread/gthread-win32.c
index e90bc601e..05891bdeb 100644
--- a/gthread/gthread-win32.c
+++ b/gthread/gthread-win32.c
@@ -433,7 +433,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));
}