summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-12-02 14:44:39 +0300
committerinfirit <[email protected]>2014-12-10 10:38:37 +0100
commit78661bd703b26343621b209f4f13e5e9fcbad802 (patch)
tree8434d03ff8b5a2a2cf432e593204791fab9ac442 /src
parentae2b0bcee1db078730bd7ea1578df3b33642214a (diff)
downloadcaja-78661bd703b26343621b209f4f13e5e9fcbad802.tar.bz2
caja-78661bd703b26343621b209f4f13e5e9fcbad802.tar.xz
connect-server-dialog: don't leak memory
Diffstat (limited to 'src')
-rw-r--r--src/caja-connect-server-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-connect-server-dialog.c b/src/caja-connect-server-dialog.c
index b068e6b2..90a8c977 100644
--- a/src/caja-connect-server-dialog.c
+++ b/src/caja-connect-server-dialog.c
@@ -869,6 +869,7 @@ caja_connect_server_dialog_init (CajaConnectServerDialog *dialog)
label = gtk_label_new (NULL);
str = g_strdup_printf ("<b>%s</b>", _("Server Details"));
gtk_label_set_markup (GTK_LABEL (label), str);
+ g_free (str);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (content_area), label, FALSE, FALSE, 6);
gtk_widget_show (label);
@@ -1042,6 +1043,7 @@ caja_connect_server_dialog_init (CajaConnectServerDialog *dialog)
label = gtk_label_new (NULL);
str = g_strdup_printf ("<b>%s</b>", _("User Details"));
gtk_label_set_markup (GTK_LABEL (label), str);
+ g_free (str);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (content_area), label, FALSE, FALSE, 6);