[epiphany] Fixup for 'display decoded URIs in bookmarks editor'



commit 339e2903b2adab2cbac8a69cce254285a61c2b4b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Jul 27 19:44:26 2015 -0500

    Fixup for 'display decoded URIs in bookmarks editor'
    
    I pushed before addressing Carlos's review comments. Bad Michael!
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710004

 src/bookmarks/ephy-bookmarks-editor.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 9b0e958..689fac4 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1484,9 +1484,7 @@ unescape_bookmark_uri (EphyNode *node,
                       gpointer user_data)
 {
        const char *url = g_value_get_string (value);
-       char *unescaped_url = g_uri_unescape_string (url, NULL);
-       g_value_set_string (value, unescaped_url);
-       g_free (unescaped_url);
+       g_value_take_string (value, g_uri_unescape_string (url, NULL));
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]