[gnome-commander/gvfs_mount] free memory



commit ba171faedc7f1afd25c9a2e5bb762f176def7afd
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Wed Jun 16 23:20:30 2021 +0200

    free memory

 src/gnome-cmd-plain-path.cc | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gnome-cmd-plain-path.cc b/src/gnome-cmd-plain-path.cc
index 1d320503b..58c66e58a 100644
--- a/src/gnome-cmd-plain-path.cc
+++ b/src/gnome-cmd-plain-path.cc
@@ -63,6 +63,7 @@ GnomeCmdPath *GnomeCmdPlainPath::get_child(const gchar *child)
                             : g_strconcat(G_DIR_SEPARATOR_S, path, child, nullptr);
 
     auto childGFile = g_file_new_for_path(fullPath);
+    g_free (fullPath);
 
     gchar *pathString = g_file_get_path(childGFile);
     g_object_unref(childGFile);


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