mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[assistant-hierarchy.c] g_free data->gnc_accounts_dir
because it is assigned to gnc_path_get_accountsdir() which is a *gchar and must be freed.
This commit is contained in:
parent
a3177e8b6b
commit
67ecb1074f
@ -96,7 +96,7 @@ typedef struct
|
||||
GtkWidget *region_combo;
|
||||
GtkWidget *region_label;
|
||||
|
||||
const gchar *gnc_accounts_dir;
|
||||
gchar *gnc_accounts_dir;
|
||||
|
||||
GtkTreeView *categories_tree;
|
||||
GtkTreeRowReference *initial_category;
|
||||
@ -170,6 +170,8 @@ gnc_hierarchy_destroy_cb (GtkWidget *obj, hierarchy_data *data)
|
||||
g_hash_table_destroy (hash);
|
||||
data->balance_hash = NULL;
|
||||
}
|
||||
|
||||
g_free (data->gnc_accounts_dir);
|
||||
}
|
||||
|
||||
static gnc_numeric
|
||||
|
Loading…
Reference in New Issue
Block a user