aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-29 19:43:27 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-29 19:43:27 +0800
commit180ab006960fe139894d8c51a0781ca3c33340ab (patch)
tree93b388356776c3767afcb293ab12c30d0e678b44
parent76c5a174fef9a2f3a46c7476a21bd202e521c36b (diff)
downloadgsoc2013-epiphany-180ab006960fe139894d8c51a0781ca3c33340ab.tar
gsoc2013-epiphany-180ab006960fe139894d8c51a0781ca3c33340ab.tar.gz
gsoc2013-epiphany-180ab006960fe139894d8c51a0781ca3c33340ab.tar.bz2
gsoc2013-epiphany-180ab006960fe139894d8c51a0781ca3c33340ab.tar.lz
gsoc2013-epiphany-180ab006960fe139894d8c51a0781ca3c33340ab.tar.xz
gsoc2013-epiphany-180ab006960fe139894d8c51a0781ca3c33340ab.tar.zst
gsoc2013-epiphany-180ab006960fe139894d8c51a0781ca3c33340ab.zip
Fix mem leak.
2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Fix mem leak.
-rw-r--r--ChangeLog6
-rw-r--r--embed/mozilla/MozDownload.cpp1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f7a15b55..1526ec08e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-01-29 Christian Persch <chpe@cvs.gnome.org>
+ * embed/mozilla/MozDownload.cpp:
+
+ Fix mem leak.
+
+2004-01-29 Christian Persch <chpe@cvs.gnome.org>
+
* embed/downloader-view.c: (update_download_row):
Fix mem leak.
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 904bcd501..66b7077e8 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -342,6 +342,7 @@ MozDownload::OnStateChange (nsIWebProgress *aWebProgress, nsIRequest *aRequest,
}
nsMemory::Free (mimeType);
+ nsMemory::Free (description);
gnome_vfs_mime_application_free (helperApp);
}
}