aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-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;