[gnome-commander] Free memory



commit eb9cb8cbe3fb9176762ff97e2cc89018feca9da5
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Fri Oct 29 23:54:32 2021 +0200

    Free memory

 src/main.cc | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/main.cc b/src/main.cc
index 3eddb3e9..52fabb85 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -189,6 +189,9 @@ int main (int argc, char *argv[])
     g_object_unref (app);
 #endif
     g_free (debug_flags);
+    g_free (start_dir_left);
+    g_free (start_dir_right);
+    g_free (config_dir);
 
     DEBUG ('c', "dirs total: %d remaining: %d\n", created_dirs_cnt, created_dirs_cnt - deleted_dirs_cnt);
     DEBUG ('c', "files total: %d remaining: %d\n", created_files_cnt, created_files_cnt - deleted_files_cnt);


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