Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
4114d068
Commit
4114d068
authored
Sep 19, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #95 from berak/line_descriptor_fix_delete
fix mismatched delete[] calls in line_descriptor.cpp
parents
0ea1de85
70e9ee62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
binary_descriptor_matcher.cpp
modules/line_descriptor/src/binary_descriptor_matcher.cpp
+12
-12
No files found.
modules/line_descriptor/src/binary_descriptor_matcher.cpp
View file @
4114d068
...
...
@@ -189,8 +189,8 @@ void BinaryDescriptorMatcher::match( const Mat& queryDescriptors, std::vector<DM
}
/* delete data */
delete
results
;
delete
numres
;
delete
[]
results
;
delete
[]
numres
;
}
/* for every input descriptor, find the best matching one (for a pair of images) */
...
...
@@ -248,8 +248,8 @@ void BinaryDescriptorMatcher::match( const Mat& queryDescriptors, const Mat& tra
/* delete data */
delete
mh
;
delete
results
;
delete
numres
;
delete
[]
results
;
delete
[]
numres
;
}
...
...
@@ -330,8 +330,8 @@ void BinaryDescriptorMatcher::knnMatch( const Mat& queryDescriptors, const Mat&
/* delete data */
delete
mh
;
delete
results
;
delete
numres
;
delete
[]
results
;
delete
[]
numres
;
}
/* for every input descriptor,
...
...
@@ -419,8 +419,8 @@ void BinaryDescriptorMatcher::knnMatch( const Mat& queryDescriptors, std::vector
}
/* delete data */
delete
results
;
delete
numres
;
delete
[]
results
;
delete
[]
numres
;
}
/* for every input desciptor, find all the ones falling in a
...
...
@@ -499,8 +499,8 @@ void BinaryDescriptorMatcher::radiusMatch( const Mat& queryDescriptors, const Ma
/* delete data */
delete
mh
;
delete
results
;
delete
numres
;
delete
[]
results
;
delete
[]
numres
;
}
/* for every input descriptor, find all the ones falling in a
...
...
@@ -587,8 +587,8 @@ void BinaryDescriptorMatcher::radiusMatch( const Mat& queryDescriptors, std::vec
}
/* delete data */
delete
results
;
delete
numres
;
delete
[]
results
;
delete
[]
numres
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment