diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2021-03-07 19:14:19 -0500 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2021-03-07 19:25:21 -0500 |
| commit | 899765845196007c695a2f858dbe3a41b8db4a2b (patch) | |
| tree | 98754916059357c0829fd8acc73130565d866ace /SD-VBS/benchmarks/multi_ncut | |
| parent | afcfb8ee7b005edeba8163f00ce5300cf77ede85 (diff) | |
SD-VBS: Fix memory leaks and tweak allocation bounds
- Fix leaks in localization, multi_ncut, svm, and texture_synthesis
- Lower preallocation for sift and texture_synthesis to match memory
profile with QCIF
- Remove trailing whitespace in script_localization.c
Diffstat (limited to 'SD-VBS/benchmarks/multi_ncut')
| -rw-r--r-- | SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c b/SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c index 77c6b71..b836824 100644 --- a/SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c +++ b/SD-VBS/benchmarks/multi_ncut/src/c/script_multi_ncut.c | |||
| @@ -75,6 +75,7 @@ int main(int argc, char* argv[]) | |||
| 75 | free(segments); | 75 | free(segments); |
| 76 | free(tempOut); | 76 | free(tempOut); |
| 77 | free(imageOut); | 77 | free(imageOut); |
| 78 | iFreeHandle(kernel); | ||
| 78 | free(edgeWeights); | 79 | free(edgeWeights); |
| 79 | free(in); | 80 | free(in); |
| 80 | free(ind); | 81 | free(ind); |
