summaryrefslogtreecommitdiff
path: root/app-office/gnucash/files/gnucash-2.7.4-double_free.patch
blob: 9d82e72f96b3aa180c2384bb04c03a03ca385dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/libgnucash/core-utils/test/test-userdata-dir.c b/libgnucash/core-utils/test/test-userdata-dir.c
index 5a8cd5c50..a702a56aa 100644
--- a/libgnucash/core-utils/test/test-userdata-dir.c
+++ b/libgnucash/core-utils/test/test-userdata-dir.c
@@ -338,7 +338,6 @@ main(int argc, char **argv)
 
     /* Clean up the temporaries that were created for the GNC_DATA_HOME test run */
     g_free (home_dir);
-    g_free (tmp_dir);
     tmp_dir = g_build_filename(gnc_data_home_dir, "data", (gchar *)NULL);
     g_rmdir (tmp_dir);
     g_free (tmp_dir);