mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix memory leak when the user cancels the matching process
This commit is contained in:
@@ -1130,7 +1130,11 @@ gnc_ofx_match_done (GtkDialog *dialog, gpointer user_data)
|
||||
/* The the user did not click OK, don't process the rest of the
|
||||
* transaction, don't go to the next of xfile.
|
||||
*/
|
||||
if (info->response != GTK_RESPONSE_OK) return;
|
||||
if (info->response != GTK_RESPONSE_OK)
|
||||
{
|
||||
g_free (info);
|
||||
return;
|
||||
}
|
||||
|
||||
if (info->trans_list)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user