mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
plug memory leaks
This commit is contained in:
@@ -234,6 +234,7 @@ lv_show_splits_free (GNCLotViewer *lv)
|
||||
|
||||
/* display list */
|
||||
gnc_split_viewer_fill(lv, lv->split_free_store, g_list_reverse (filtered_list));
|
||||
g_list_free (filtered_list);
|
||||
}
|
||||
|
||||
/* ======================================================================== */
|
||||
|
||||
@@ -3785,6 +3785,7 @@ gnc_plugin_page_register_cmd_print_check (GtkAction* action,
|
||||
}
|
||||
}
|
||||
gnc_ui_print_check_dialog_create (window, splits);
|
||||
g_list_free (splits);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -5368,6 +5369,7 @@ gppr_account_destroy_cb (Account* account)
|
||||
page = (GncPluginPageRegister*)item->data;
|
||||
gnc_main_window_close_page (GNC_PLUGIN_PAGE (page));
|
||||
}
|
||||
g_list_free (kill);
|
||||
}
|
||||
|
||||
/** This function is the handler for all event messages from the
|
||||
|
||||
@@ -2677,6 +2677,7 @@ gnc_plugin_page_register2_cmd_print_check (GtkAction *action,
|
||||
}
|
||||
}
|
||||
gnc_ui_print_check_dialog_create (window, splits);
|
||||
g_list_free (splits);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4027,6 +4028,7 @@ gppr_account_destroy_cb (Account *account)
|
||||
page = (GncPluginPageRegister2 *)item->data;
|
||||
gnc_main_window_close_page(GNC_PLUGIN_PAGE(page));
|
||||
}
|
||||
g_list_free (kill);
|
||||
}
|
||||
|
||||
/** This function is the handler for all event messages from the
|
||||
|
||||
Reference in New Issue
Block a user