From: Christian Dywan Date: Thu, 11 Mar 2010 22:03:54 +0000 (+0100) Subject: Free text after proxy combo text change X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c1e5e430529e773a2a4713dbc7a8ac256f44891;p=midori Free text after proxy combo text change --- diff --git a/katze/katze-utils.c b/katze/katze-utils.c index a4af47a5..d3e93d6d 100644 --- a/katze/katze-utils.c +++ b/katze/katze-utils.c @@ -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*