From 3498e3270194093098f9b8275901517fa2f9fa32 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Fri, 23 Oct 2020 16:42:53 -0400 Subject: Squashed commit sd-vbs from Leo: - Fixes SD-VBS build with LITMUS 1 defined - Fixes memory leak in stitch and tracking benchmarks - Adds initial case-study script and configurations --- SD-VBS/benchmarks/stitch/src/c/script_stitch.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'SD-VBS/benchmarks/stitch/src') diff --git a/SD-VBS/benchmarks/stitch/src/c/script_stitch.c b/SD-VBS/benchmarks/stitch/src/c/script_stitch.c index b7611f1..9310048 100644 --- a/SD-VBS/benchmarks/stitch/src/c/script_stitch.c +++ b/SD-VBS/benchmarks/stitch/src/c/script_stitch.c @@ -23,6 +23,12 @@ int main(int argc, char* argv[]) cols = Icur->width; for_each_job { + iFreeHandle(Icur); + fFreeHandle(v); + fFreeHandle(interestPnts); + fFreeHandle(int1); + fFreeHandle(int2); + fFreeHandle(Fcur); v = harris(Icur); interestPnts = getANMS(v, 24); int1 = fMallocHandle(interestPnts->height, 1); @@ -49,12 +55,6 @@ int main(int argc, char* argv[]) printf("Error in Stitch\n"); } #endif - iFreeHandle(Icur); - fFreeHandle(v); - fFreeHandle(interestPnts); - fFreeHandle(int1); - fFreeHandle(int2); - fFreeHandle(Fcur); WRITE_TO_FILE return 0; } -- cgit v1.2.2