diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-29 19:43:27 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-29 19:43:27 +0800 |
commit | 180ab006960fe139894d8c51a0781ca3c33340ab (patch) | |
tree | 93b388356776c3767afcb293ab12c30d0e678b44 | |
parent | 76c5a174fef9a2f3a46c7476a21bd202e521c36b (diff) | |
download | gsoc2013-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-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/mozilla/MozDownload.cpp | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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); } } |