aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-06 07:12:37 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-06 07:12:37 +0800
commit1693c8d0d91d65d6ece605be97cfa739da260d58 (patch)
treec28b778dc3f25a9673c2aab82dff54c38b562817
parent7e8b35f93d2ef0f08fdf6b9ef889fb913091a61f (diff)
downloadgsoc2013-epiphany-1693c8d0d91d65d6ece605be97cfa739da260d58.tar
gsoc2013-epiphany-1693c8d0d91d65d6ece605be97cfa739da260d58.tar.gz
gsoc2013-epiphany-1693c8d0d91d65d6ece605be97cfa739da260d58.tar.bz2
gsoc2013-epiphany-1693c8d0d91d65d6ece605be97cfa739da260d58.tar.lz
gsoc2013-epiphany-1693c8d0d91d65d6ece605be97cfa739da260d58.tar.xz
gsoc2013-epiphany-1693c8d0d91d65d6ece605be97cfa739da260d58.tar.zst
gsoc2013-epiphany-1693c8d0d91d65d6ece605be97cfa739da260d58.zip
Fix a mem leak (ported from galeon).
2003-12-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Fix a mem leak (ported from galeon).
-rw-r--r--ChangeLog20
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp2
2 files changed, 21 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 479001205..2a06836e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2003-12-06 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/mozilla/mozilla-embed-single.cpp:
+
+ Fix a mem leak (ported from galeon).
+
+2003-12-06 Christian Persch <chpe@cvs.gnome.org>
+
+ * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type),
+ (ephy_embed_shell_finalize), (ephy_embed_shell_get_favicon_cache),
+ (ephy_embed_shell_get_global_history),
+ (ephy_embed_shell_get_downloader_view), (load_mime_from_xml),
+ (ephy_embed_shell_init), (ephy_embed_shell_class_init):
+ * embed/ephy-embed-shell.h:
+ * embed/ephy-embed.c: (ephy_embed_base_init):
+ * embed/ephy-embed.h:
+ * src/ephy-tab.c: (ephy_tab_init):
+
+ Misc cleanups. Remove a duplicated signal from EphyEmbed.
+
2003-12-05 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-state.c: (sync_expander_cb), (ephy_state_add_expander):
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 63fce2f09..b6c0a22f2 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -390,7 +390,7 @@ getUILang (nsAString& aUILang)
#else
nsXPIDLString uiLang;
result = localeService->GetLocaleComponentForUserAgent (getter_Copies(uiLang));
- aUILang = uiLang;
+ aUILang.Assign (uiLang);
#endif
if (NS_FAILED (result))