[gnome-commander] Free memory
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Free memory
- Date: Fri, 5 Mar 2021 23:41:50 +0000 (UTC)
commit 452baceea36f75ec8db6396422bec317c3b507d8
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sat Mar 6 00:35:37 2021 +0100
Free memory
src/gnome-cmd-file-popmenu.cc | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/gnome-cmd-file-popmenu.cc b/src/gnome-cmd-file-popmenu.cc
index bed8eb6e..bcefa24d 100644
--- a/src/gnome-cmd-file-popmenu.cc
+++ b/src/gnome-cmd-file-popmenu.cc
@@ -618,6 +618,8 @@ guint add_action_script_entries(GtkUIManager *uiManager, GList *files)
gtk_ui_manager_add_ui (uiManager, mergeIdActionScripts, "/FilePopup/ActionScripts", scriptName,
scriptName, GTK_UI_MANAGER_AUTO, true);
g_free(scriptName);
+ g_free(scriptData->path);
+ g_free(scriptData);
position++;
}
g_free (scriptsDir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]