Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
771a1972
Commit
771a1972
authored
Oct 22, 2014
by
Christian Schulte zu Berge
Browse files
Fixed memory leak in IvusBatchReader processor.
parent
52503fb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/ivus_tc/processors/ivusbatchreader.cpp
View file @
771a1972
...
...
@@ -103,8 +103,6 @@ namespace campvis {
}
// get data from image and transform to single intensity image:
ILubyte
*
data
=
ilGetData
();
ilCopyPixels
(
0
,
0
,
0
,
imageSize
.
x
,
imageSize
.
y
,
1
,
IL_LUMINANCE
,
IL_UNSIGNED_BYTE
,
buffer
+
(
sizeof
(
uint8_t
)
*
i
*
imageSize
.
x
*
imageSize
.
y
));
ILint
err
=
ilGetError
();
if
(
err
!=
IL_NO_ERROR
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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