diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-12-22 22:05:17 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-12-22 22:05:17 +0800 |
commit | 15fce640f6945bdf8fc634414747cc294d183207 (patch) | |
tree | 8cfdf2d31faf15fc32c769ba858c0b9db54f5448 /embed/ephy-encodings.c | |
parent | f606a4b6e99b759e408b4b9e7e7a8dca25b306f4 (diff) | |
download | gsoc2013-epiphany-15fce640f6945bdf8fc634414747cc294d183207.tar gsoc2013-epiphany-15fce640f6945bdf8fc634414747cc294d183207.tar.gz gsoc2013-epiphany-15fce640f6945bdf8fc634414747cc294d183207.tar.bz2 gsoc2013-epiphany-15fce640f6945bdf8fc634414747cc294d183207.tar.lz gsoc2013-epiphany-15fce640f6945bdf8fc634414747cc294d183207.tar.xz gsoc2013-epiphany-15fce640f6945bdf8fc634414747cc294d183207.tar.zst gsoc2013-epiphany-15fce640f6945bdf8fc634414747cc294d183207.zip |
Fix mem leak. (Found by Crispin.)
2003-12-22 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-encodings.c: (ephy_encodings_add_recent):
Fix mem leak. (Found by Crispin.)
Diffstat (limited to 'embed/ephy-encodings.c')
-rw-r--r-- | embed/ephy-encodings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-encodings.c b/embed/ephy-encodings.c index c66adde85..2500c78b8 100644 --- a/embed/ephy-encodings.c +++ b/embed/ephy-encodings.c @@ -294,6 +294,7 @@ ephy_encodings_add_recent (EphyEncodings *encodings, (GCompareFunc) strcmp); if (element != NULL) { + g_free (element->data); encodings->priv->recent = g_slist_remove_link (encodings->priv->recent, element); } |