diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-06-15 17:41:08 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-06-15 17:41:08 +0800 |
commit | 70c9516fd0741ecd185196f33dcd9c7ad63d69fb (patch) | |
tree | efa170d3b90c8b60d093970725d84277560638e9 /embed/mozilla/mozilla-embed-single.cpp | |
parent | 94a825c3865eacb771b64dd93ea7b0dff3c9db49 (diff) | |
download | gsoc2013-epiphany-70c9516fd0741ecd185196f33dcd9c7ad63d69fb.tar gsoc2013-epiphany-70c9516fd0741ecd185196f33dcd9c7ad63d69fb.tar.gz gsoc2013-epiphany-70c9516fd0741ecd185196f33dcd9c7ad63d69fb.tar.bz2 gsoc2013-epiphany-70c9516fd0741ecd185196f33dcd9c7ad63d69fb.tar.lz gsoc2013-epiphany-70c9516fd0741ecd185196f33dcd9c7ad63d69fb.tar.xz gsoc2013-epiphany-70c9516fd0741ecd185196f33dcd9c7ad63d69fb.tar.zst gsoc2013-epiphany-70c9516fd0741ecd185196f33dcd9c7ad63d69fb.zip |
), (EventContext::SetStringProperty (const char*, const nsACString&)):
2003-06-15 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/mozilla-embed-single: (control_encodings_list):
* embed/mozilla/EventContext.cpp: (EventContext::SetIntProperty),
(EventContext::SetStringProperty (const char*, const char*)),
(EventContext::SetStringProperty (const char*, const nsACString&)):
Fix mem leaks.
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index fa67a9ea3..8cc2413da 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -808,6 +808,9 @@ control_encodings_list (void) encoding_str, encoding_title_str); ret = G_FAILED; } + + g_free (encoding_str); + g_free (encoding_title_str); } return ret; |