aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2009-09-07 23:14:10 +0800
committerXan Lopez <xan@gnome.org>2009-09-07 23:14:10 +0800
commitdf54608c60a5e12b667620ba8ec87bac379259de (patch)
treeee39175b4cebde5ba0ae87abb78bb64cd73501b3 /src
parentc1689576e6435878324322321e246f1676bf467c (diff)
downloadgsoc2013-epiphany-df54608c60a5e12b667620ba8ec87bac379259de.tar
gsoc2013-epiphany-df54608c60a5e12b667620ba8ec87bac379259de.tar.gz
gsoc2013-epiphany-df54608c60a5e12b667620ba8ec87bac379259de.tar.bz2
gsoc2013-epiphany-df54608c60a5e12b667620ba8ec87bac379259de.tar.lz
gsoc2013-epiphany-df54608c60a5e12b667620ba8ec87bac379259de.tar.xz
gsoc2013-epiphany-df54608c60a5e12b667620ba8ec87bac379259de.tar.zst
gsoc2013-epiphany-df54608c60a5e12b667620ba8ec87bac379259de.zip
ephy-location-action: g_strdup is NULL safe
Diffstat (limited to 'src')
-rw-r--r--src/ephy-location-action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index fb40a7482..0394d6e4a 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -868,7 +868,7 @@ ephy_location_action_set_address (EphyLocationAction *action,
priv->address = g_strdup (address);
g_free (priv->typed_address);
- priv->typed_address = typed_address ? g_strdup (typed_address) : NULL;
+ priv->typed_address = g_strdup (typed_address);
g_object_notify (G_OBJECT (action), "address");
}