]> spindle.queued.net Git - midori/commitdiff
Free text after proxy combo text change
authorChristian Dywan <christian@twotoasts.de>
Thu, 11 Mar 2010 22:03:54 +0000 (23:03 +0100)
committerChristian Dywan <christian@twotoasts.de>
Thu, 11 Mar 2010 22:30:53 +0000 (23:30 +0100)
katze/katze-utils.c

index a4af47a52e9b305ba00f74a1438c09c2ea49a639..d3e93d6d938711611fdd454faac84a4fdc84d5be 100644 (file)
@@ -85,6 +85,7 @@ proxy_combo_box_text_changed_cb (GtkComboBox* button,
     gchar* text = gtk_combo_box_get_active_text (button);
     const gchar* property = g_object_get_data (G_OBJECT (button), "property");
     g_object_set (object, property, text, NULL);
+    g_free (text);
 }
 
 static const gchar*