Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
development
Commits
a8afb139
Commit
a8afb139
authored
9 years ago
by
Chih-hung Hsieh
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Download
Plain Diff
Merge "Use delete[] on objects allocated with new[]."
parents
6980f5dc
a020585e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
perftests/panorama/feature_mos/src/mosaic/Blend.cpp
perftests/panorama/feature_mos/src/mosaic/Blend.cpp
+2
-2
No files found.
perftests/panorama/feature_mos/src/mosaic/Blend.cpp
View file @
a8afb139
...
...
@@ -781,10 +781,10 @@ int Blend::PerformFinalBlending(YUVinfo &imgMos, MosaicRect &cropping_rect)
for
(
int
j
=
0
;
j
<
imgMos
.
Y
.
height
;
j
++
)
{
delete
b
[
j
];
delete
[]
b
[
j
];
}
delete
b
;
delete
[]
b
;
return
BLEND_RET_OK
;
}
...
...
This diff is collapsed.
Click to expand it.
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