summaryrefslogtreecommitdiffstats
path: root/SD-VBS/benchmarks/stitch/src
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2020-10-23 16:42:53 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-23 16:42:53 -0400
commit3498e3270194093098f9b8275901517fa2f9fa32 (patch)
tree5ce66df0516fa44981da3542115bb307aefb6f65 /SD-VBS/benchmarks/stitch/src
parent8e9d3399bbc1249370a4423bce3d1db9e417d952 (diff)
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
Diffstat (limited to 'SD-VBS/benchmarks/stitch/src')
-rw-r--r--SD-VBS/benchmarks/stitch/src/c/script_stitch.c12
1 files changed, 6 insertions, 6 deletions
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[])
23 cols = Icur->width; 23 cols = Icur->width;
24 24
25 for_each_job { 25 for_each_job {
26 iFreeHandle(Icur);
27 fFreeHandle(v);
28 fFreeHandle(interestPnts);
29 fFreeHandle(int1);
30 fFreeHandle(int2);
31 fFreeHandle(Fcur);
26 v = harris(Icur); 32 v = harris(Icur);
27 interestPnts = getANMS(v, 24); 33 interestPnts = getANMS(v, 24);
28 int1 = fMallocHandle(interestPnts->height, 1); 34 int1 = fMallocHandle(interestPnts->height, 1);
@@ -49,12 +55,6 @@ int main(int argc, char* argv[])
49 printf("Error in Stitch\n"); 55 printf("Error in Stitch\n");
50 } 56 }
51#endif 57#endif
52 iFreeHandle(Icur);
53 fFreeHandle(v);
54 fFreeHandle(interestPnts);
55 fFreeHandle(int1);
56 fFreeHandle(int2);
57 fFreeHandle(Fcur);
58 WRITE_TO_FILE 58 WRITE_TO_FILE
59 return 0; 59 return 0;
60} 60}