Free with free() and not g_free() what has been allocated with calloc().
authorTor Lillqvist <tml@novell.com>
Wed, 3 May 2006 14:53:06 +0000 (14:53 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 3 May 2006 14:53:06 +0000 (14:53 +0000)
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)

gthread/ChangeLog
gthread/gthread-win32.c

index 3abf51c695f226488d8b285b4c84d13b815d2c40..d2547883e28f8d08aef6983da260fc0332813b59 100644 (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 ===
index e3e74c24bf42243d66e624565301a6d6be85652a..72a0724b5204e23fbbc161d62edcc2cfcaeacb9f 100644 (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));
     }