[gnome-commander] Unref uri in password dialog
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Unref uri in password dialog
- Date: Sun, 10 May 2015 20:52:36 +0000 (UTC)
commit 85781201cf98c2cece4adbbd07e8bdcc33ec6035
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sun May 10 22:26:40 2015 +0200
Unref uri in password dialog
src/gnome-cmd-con.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-con.cc b/src/gnome-cmd-con.cc
index 0d6b4c2..d462323 100644
--- a/src/gnome-cmd-con.cc
+++ b/src/gnome-cmd-con.cc
@@ -702,9 +702,10 @@ const char* GnomeCmdCon::gnome_cmd_con_set_password()
GnomeVFSURI *urivfs = gnome_vfs_uri_new (uri);
label = gtk_label_new (gnome_vfs_uri_to_string (urivfs, GNOME_VFS_URI_HIDE_NONE));
+ gnome_vfs_uri_unref (urivfs);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 2, 0, 1);
-
+
entry = gtk_entry_new ();
g_object_set_data (G_OBJECT (dialog), "password", entry);
gtk_entry_set_visibility (GTK_ENTRY (entry), FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]