gnucash maint: [gnc-gnome-utils] fix memory leak
Christopher Lam
clam at code.gnucash.org
Sun Oct 3 09:18:29 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/3f501bb3 (commit)
from https://github.com/Gnucash/gnucash/commit/9a465fc3 (commit)
commit 3f501bb31b78aebcc47143553f061837d03d26a2
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun Oct 3 21:16:56 2021 +0800
[gnc-gnome-utils] fix memory leak
from 9fb9868b
diff --git a/gnucash/gnome-utils/gnc-gnome-utils.c b/gnucash/gnome-utils/gnc-gnome-utils.c
index 6a44d38cf..2c3cfac02 100644
--- a/gnucash/gnome-utils/gnc-gnome-utils.c
+++ b/gnucash/gnome-utils/gnc-gnome-utils.c
@@ -268,7 +268,7 @@ gnc_gnome_help_yelp_anchor_fix (GtkWindow *parent, const char *file_name, const
gchar *filename = g_build_filename (help_path, *langs, help_file, NULL);
if (g_file_test (filename, G_FILE_TEST_EXISTS))
{
- full_path = g_strdup (filename);
+ full_path = filename;
break;
}
g_free (filename);
Summary of changes:
gnucash/gnome-utils/gnc-gnome-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list