aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-toolbars-group.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/ephy-toolbars-group.c')
-rwxr-xr-xlib/widgets/ephy-toolbars-group.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/widgets/ephy-toolbars-group.c b/lib/widgets/ephy-toolbars-group.c
index b30f6b820..8cdcfd55f 100755
--- a/lib/widgets/ephy-toolbars-group.c
+++ b/lib/widgets/ephy-toolbars-group.c
@@ -372,9 +372,7 @@ ephy_toolbars_group_to_string (EphyToolbarsGroup *t)
}
g_string_append (s, "</Root>");
- result = s->str;
-
- g_string_free (s, FALSE);
+ result = g_string_free (s, FALSE);
return result;
}