diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-05-21 18:08:25 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-05-21 18:08:25 +0800 |
commit | 45a14654f55a8d6270fe483e2fdd40b88c246275 (patch) | |
tree | 7fb67f1d12ee14e487e7fb630059af500a44d24f /embed | |
parent | 8ed5b305fdbaa74d7389ac9eb3baf209709296b1 (diff) | |
download | gsoc2013-epiphany-45a14654f55a8d6270fe483e2fdd40b88c246275.tar gsoc2013-epiphany-45a14654f55a8d6270fe483e2fdd40b88c246275.tar.gz gsoc2013-epiphany-45a14654f55a8d6270fe483e2fdd40b88c246275.tar.bz2 gsoc2013-epiphany-45a14654f55a8d6270fe483e2fdd40b88c246275.tar.lz gsoc2013-epiphany-45a14654f55a8d6270fe483e2fdd40b88c246275.tar.xz gsoc2013-epiphany-45a14654f55a8d6270fe483e2fdd40b88c246275.tar.zst gsoc2013-epiphany-45a14654f55a8d6270fe483e2fdd40b88c246275.zip |
Do not free memory is not a good idea
2003-05-21 Marco Pesenti Gritti <marco@it.gnome.org>
* embed/ephy-favicon-cache.c: (ephy_favicon_cache_save):
Do not free memory is not a good idea
* lib/ephy-node-db.c: (ephy_node_db_set_name):
Free it two times is even worst
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-favicon-cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index 6ae56c3f9..5488a9451 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -254,6 +254,8 @@ ephy_favicon_cache_save (EphyFaviconCache *eb) ephy_node_thaw (eb->priv->icons); xmlSaveFormatFile (eb->priv->xml_file, doc, 1); + + xmlFreeDoc (doc); } static void |