Blame wxGTK-2.8.4-bad-g_free.patch

Matthew Miller a4fbc0
--- wxWidgets/trunk/src/gtk/button.cpp	2007/04/23 15:16:06	45602
Matthew Miller a4fbc0
+++ wxWidgets/trunk/src/gtk/button.cpp	2007/06/18 06:03:50	46513
Matthew Miller a4fbc0
@@ -71,7 +71,7 @@
Matthew Miller a4fbc0
             right_border += default_border->right;
Matthew Miller a4fbc0
             top_border += default_border->top;
Matthew Miller a4fbc0
             bottom_border += default_border->bottom;
Matthew Miller a4fbc0
-            g_free( default_border );
Matthew Miller a4fbc0
+            gtk_border_free( default_border );
Matthew Miller a4fbc0
         }
Matthew Miller a4fbc0
         win->MoveWindow(
Matthew Miller a4fbc0
             win->m_x - top_border,
Matthew Miller a4fbc0
--- wxWidgets/trunk/src/gtk/window.cpp	2007/05/30 13:55:09	46249
Matthew Miller a4fbc0
+++ wxWidgets/trunk/src/gtk/window.cpp	2007/06/18 06:03:50	46513
Matthew Miller a4fbc0
@@ -2738,7 +2738,7 @@
Matthew Miller a4fbc0
                 right_border += default_border->right;
Matthew Miller a4fbc0
                 top_border += default_border->top;
Matthew Miller a4fbc0
                 bottom_border += default_border->bottom;
Matthew Miller a4fbc0
-                g_free( default_border );
Matthew Miller a4fbc0
+                gtk_border_free( default_border );
Matthew Miller a4fbc0
             }
Matthew Miller a4fbc0
         }
Matthew Miller a4fbc0