aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/widgets/ephy-location-entry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 1ac918060..5b2c9dc0d 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -1624,6 +1624,7 @@ ephy_location_entry_set_lock_stock (EphyLocationEntry *entry,
{
g_return_if_fail (EPHY_IS_LOCATION_ENTRY (entry));
+ g_free (entry->priv->lock_stock_id);
entry->priv->lock_stock_id = g_strdup (stock_id);
if (entry->priv->show_lock)