Commit 029de426 authored by Allison Karlitskaya's avatar Allison Karlitskaya Committed by Ryan Lortie

fix invalid free

2007-11-26  Ryan Lortie  <desrt@desrt.ca>

        * tests/buildertest.c (test_window): fix invalid free


svn path=/trunk/; revision=19073
parent 21a30978
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment