[gnome-commander/gcmd-1-2-8] Fixed problem #598278 (memory leak)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8] Fixed problem #598278 (memory leak)
- Date: Sat, 17 Oct 2009 18:07:56 +0000 (UTC)
commit 3b4576c4ced6b02b325a219f9137c4308771ddfa
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Oct 17 20:04:49 2009 +0200
Fixed problem #598278 (memory leak)
NEWS | 1 +
doc/C/gnome-commander.xml | 3 +++
src/gnome-cmd-dir-indicator.cc | 1 +
3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 29f519e..59725dc 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Bug fixes:
* Fixed problem #597144 (missing call to pclose)
* Fixed problem #597233 (validating of doc translations)
* Fixed problem #597890 (wrong arguments passed to meld)
+ * Fixed problem #598278 (memory leak)
===================================
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 2143001..9f767aa 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6042,6 +6042,9 @@
<listitem>
<para>Fixed problem #597890 (wrong arguments passed to meld)</para>
</listitem>
+ <listitem>
+ <para>Fixed problem #598278 (memory leak)</para>
+ </listitem>
</itemizedlist>
</para>
</entry>
diff --git a/src/gnome-cmd-dir-indicator.cc b/src/gnome-cmd-dir-indicator.cc
index be034cf..0b0c1e6 100644
--- a/src/gnome-cmd-dir-indicator.cc
+++ b/src/gnome-cmd-dir-indicator.cc
@@ -106,6 +106,7 @@ static gboolean on_dir_indicator_clicked (GnomeCmdDirIndicator *indicator, GdkEv
}
// pointer is after directory name - just return
+ g_free (chTo);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]