aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r--src/bookmarks/ephy-bookmarks.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 46d3066c1..3b45599f6 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -781,8 +781,7 @@ ephy_bookmarks_solve_smart_url (EphyBookmarks *eb,
g_string_append (s, arg);
t1 = t2 + 2;
g_string_append (s, t1);
- ret = s->str;
- g_string_free (s, FALSE);
+ ret = g_string_free (s, FALSE);
g_free (arg);
g_free (encoding);