aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-15 01:40:19 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-15 01:40:19 +0800
commit5590990e31cce98ab0f975541999862ab6778e25 (patch)
tree0e596b7f7d276085205029ab0673c52e091fc5f3 /embed
parent0702d70a92b4b46d5a94c5df092288358b89d2fb (diff)
downloadgsoc2013-epiphany-5590990e31cce98ab0f975541999862ab6778e25.tar
gsoc2013-epiphany-5590990e31cce98ab0f975541999862ab6778e25.tar.gz
gsoc2013-epiphany-5590990e31cce98ab0f975541999862ab6778e25.tar.bz2
gsoc2013-epiphany-5590990e31cce98ab0f975541999862ab6778e25.tar.lz
gsoc2013-epiphany-5590990e31cce98ab0f975541999862ab6778e25.tar.xz
gsoc2013-epiphany-5590990e31cce98ab0f975541999862ab6778e25.tar.zst
gsoc2013-epiphany-5590990e31cce98ab0f975541999862ab6778e25.zip
Save one strdup.
2004-11-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Save one strdup.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphyBrowser.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 153e16c4d..316034c2d 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -218,9 +218,7 @@ EphyFaviconEventListener::HandleEvent(nsIDOMEvent* aDOMEvent)
#endif
/* ok, we accept this as a valid favicon for this site */
- char *url = g_strdup (faviconUrl.get());
- g_signal_emit_by_name (mOwner, "ge_favicon", url);
- g_free (url);
+ g_signal_emit_by_name (mOwner, "ge_favicon", faviconUrl.get());
}
return NS_OK;