diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-06 07:12:37 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-06 07:12:37 +0800 |
commit | 1693c8d0d91d65d6ece605be97cfa739da260d58 (patch) | |
tree | c28b778dc3f25a9673c2aab82dff54c38b562817 /embed | |
parent | 7e8b35f93d2ef0f08fdf6b9ef889fb913091a61f (diff) | |
download | gsoc2013-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).
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |