[gnome-commander] Fix for memory leaks



commit 861096425c32203cf1fc9a20705753dc1d9cef11
Author: Dmitriy Lyfar <dlyfar gmail com>
Date:   Sun Jun 28 23:37:58 2009 +0200

    Fix for memory leaks

 ChangeLog   |    5 +++++
 src/main.cc |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6b37aaa..19bc471 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-28  Dmitriy Lyfar  <dlyfar gmail com>
+
+	* src/main.cc:
+	Fix for memory leaks
+
 2009-06-21  Dmitriy Lyfar  <dlyfar gmail com>
 
 	* src/gnome-cmd-file-props-dialog.cc:
diff --git a/src/main.cc b/src/main.cc
index 54ff8b7..02862ff 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -157,6 +157,7 @@ int main (int argc, char *argv[])
 
     remove_temp_download_dir ();
 
+    g_option_context_free (option_context);
     g_object_unref (program);
 
     DEBUG ('c', "dirs total: %d remaining: %d\n", created_dirs_cnt, created_dirs_cnt - deleted_dirs_cnt);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]