forked from AuroraMiddleware/gtk
fix invalid free
2007-11-26 Ryan Lortie <desrt@desrt.ca> * tests/buildertest.c (test_window): fix invalid free svn path=/trunk/; revision=19073
This commit is contained in:
parent
21a30978dc
commit
029de426da
@ -1,3 +1,7 @@
|
||||
2007-11-26 Ryan Lortie <desrt@desrt.ca>
|
||||
|
||||
* tests/buildertest.c (test_window): fix invalid free
|
||||
|
||||
2007-11-26 Josselin Mouette <joss@malsain.org>
|
||||
|
||||
reviewed by: Federico Mena Quintero
|
||||
|
@ -1549,12 +1549,9 @@ gboolean test_window (void)
|
||||
|
||||
builder = builder_new_from_string (buffer2, -1, NULL);
|
||||
window1 = gtk_builder_get_object (builder, "window1");
|
||||
g_return_val_if_fail (title != NULL, FALSE);
|
||||
g_free (title);
|
||||
gtk_widget_destroy (GTK_WIDGET (window1));
|
||||
g_object_unref (builder);
|
||||
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user