From df54608c60a5e12b667620ba8ec87bac379259de Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 7 Sep 2009 18:14:10 +0300 Subject: ephy-location-action: g_strdup is NULL safe --- src/ephy-location-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); } -- cgit v1.2.3