aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-27 01:09:06 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-27 01:09:06 +0800
commit310062d53de386a4b9fe4bc8ad4abc46f5664159 (patch)
treeb670bc4aa641db02ca798aeba3aadd56496820d6
parent1a0500c89fb759163f207a92f419aaed18005dd0 (diff)
downloadgsoc2013-epiphany-310062d53de386a4b9fe4bc8ad4abc46f5664159.tar
gsoc2013-epiphany-310062d53de386a4b9fe4bc8ad4abc46f5664159.tar.gz
gsoc2013-epiphany-310062d53de386a4b9fe4bc8ad4abc46f5664159.tar.bz2
gsoc2013-epiphany-310062d53de386a4b9fe4bc8ad4abc46f5664159.tar.lz
gsoc2013-epiphany-310062d53de386a4b9fe4bc8ad4abc46f5664159.tar.xz
gsoc2013-epiphany-310062d53de386a4b9fe4bc8ad4abc46f5664159.tar.zst
gsoc2013-epiphany-310062d53de386a4b9fe4bc8ad4abc46f5664159.zip
Fix mem leak.
2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-download.c: (ephy_download_get_name): Fix mem leak.
-rw-r--r--ChangeLog6
-rw-r--r--embed/ephy-download.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 59538ec7a..8a8c9104f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-01-26 Christian Persch <chpe@cvs.gnome.org>
+ * embed/ephy-download.c: (ephy_download_get_name):
+
+ Fix mem leak.
+
+2004-01-26 Christian Persch <chpe@cvs.gnome.org>
+
* embed/downloader-view.c: (update_download_row):
Fix mem leak.
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index f7e09d94f..041113466 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -134,6 +134,8 @@ ephy_download_get_name (EphyDownload *download)
result = g_strdup ("Unknown");
}
+ g_free (target);
+
return result;
}