From 310062d53de386a4b9fe4bc8ad4abc46f5664159 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 26 Jan 2004 17:09:06 +0000 Subject: Fix mem leak. 2004-01-26 Christian Persch * embed/ephy-download.c: (ephy_download_get_name): Fix mem leak. --- ChangeLog | 6 ++++++ embed/ephy-download.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 59538ec7a..8a8c9104f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-26 Christian Persch + + * embed/ephy-download.c: (ephy_download_get_name): + + Fix mem leak. + 2004-01-26 Christian Persch * embed/downloader-view.c: (update_download_row): 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; } -- cgit v1.2.3