[vlfeat] 10/44: Update vl_covdet.c
Dima Kogan
dima at secretsauce.net
Wed Sep 16 21:05:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
dkogan-guest pushed a commit to branch master
in repository vlfeat.
commit 8d7e550b7201b1ba0a34d16454683006dacf3fd3
Author: Pierre Moulon <pmoulon at gmail.com>
Date: Wed Feb 19 14:13:10 2014 +0100
Update vl_covdet.c
Fix a memory leak.
---
toolbox/sift/vl_covdet.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/toolbox/sift/vl_covdet.c b/toolbox/sift/vl_covdet.c
index 2edf3f8..fe4390a 100644
--- a/toolbox/sift/vl_covdet.c
+++ b/toolbox/sift/vl_covdet.c
@@ -631,8 +631,8 @@ mexFunction(int nout, mxArray *out[],
case VL_COVDET_DESC_PATCH:
{
- vl_size numFeatures ;
- VlCovDetFeature const * feature ;
+ vl_size numFeatures ;
+ VlCovDetFeature const * feature ;
vl_index i ;
vl_size w = 2*patchResolution + 1 ;
float * desc ;
@@ -753,6 +753,7 @@ mexFunction(int nout, mxArray *out[],
}
mexPrintf("time: %f\n",vl_toc());
mexPrintf("threshold: %f\n",liop->intensityThreshold);
+ vl_liopdesc_delete(liop);
break;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vlfeat.git
More information about the debian-science-commits
mailing list