diff -Nru gnucash-2.4.13/debian/changelog gnucash-2.4.13/debian/changelog diff -Nru gnucash-2.4.13/debian/patches/importer-double-free-error.patch gnucash-2.4.13/debian/patches/importer-double-free-error.patch --- gnucash-2.4.13/debian/patches/importer-double-free-error.patch 1970-01-01 10:00:00.000000000 +1000 +++ gnucash-2.4.13/debian/patches/importer-double-free-error.patch 2013-09-14 02:56:52.000000000 +1000 @@ -0,0 +1,36 @@ +## Description: Fixes double-free error which causes segfault on importing transactions +## Origin: http://svn.gnucash.org/trac/changeset/22087 +## Bug: LP: #1224455 +Index: gnucash-2.4.13/src/import-export/import-main-matcher.c +=================================================================== +--- gnucash-2.4.13.orig/src/import-export/import-main-matcher.c 2013-04-21 07:07:10.000000000 +1000 ++++ gnucash-2.4.13/src/import-export/import-main-matcher.c 2013-09-14 02:45:02.418388885 +1000 +@@ -170,8 +170,8 @@ + /* transaction skipped -> destroy + * Otherwise temporary transactions remains visible if account is open + * (see gnc_import_process_trans_item() case GNCImport_CLEAR) */ +- xaccTransDestroy(gnc_import_TransInfo_get_trans(trans_info)); +- xaccTransCommitEdit(gnc_import_TransInfo_get_trans(trans_info)); ++/* xaccTransDestroy(gnc_import_TransInfo_get_trans(trans_info)); ++ xaccTransCommitEdit(gnc_import_TransInfo_get_trans(trans_info)); */ + } + + } +@@ -181,7 +181,7 @@ + /* DRH: Is this necessary. Isn't the call to trans_list_delete at + the end of this routine going to destroy the entire list store + anyway? */ +- for (item = refs_list; item; item = g_slist_next(item)) ++/* for (item = refs_list; item; item = g_slist_next(item)) + { + ref = item->data; + path = gtk_tree_row_reference_get_path(ref); +@@ -190,7 +190,7 @@ + gtk_tree_path_free(path); + gtk_tree_row_reference_free(ref); + } +- g_slist_free(refs_list); ++ g_slist_free(refs_list); */ + + gnc_gen_trans_list_delete (info); + /* DEBUG ("End") */ diff -Nru gnucash-2.4.13/debian/patches/series gnucash-2.4.13/debian/patches/series --- gnucash-2.4.13/debian/patches/series 2013-03-31 22:04:18.000000000 +1000 +++ gnucash-2.4.13/debian/patches/series 2013-09-14 02:56:52.000000000 +1000 @@ -6,3 +6,4 @@ taxi0-presentation_options.patch taxi1-customization_improvements.patch regcomp-memory-leak.patch +importer-double-free-error.patch