Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
f692508e
Commit
f692508e
authored
9 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
Fix memory eak in LCIOReader/skepevent
parent
e1f75e59
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/lcio/LCIOStdHepReader.cpp
+1
-0
1 addition, 0 deletions
DDG4/lcio/LCIOStdHepReader.cpp
with
1 addition
and
0 deletions
DDG4/lcio/LCIOStdHepReader.cpp
+
1
−
0
View file @
f692508e
...
...
@@ -95,6 +95,7 @@ LCIOStdHepReader::moveToEvent(int event_number) {
while
(
m_currEvent
<
event_number
)
{
EVENT
::
LCCollection
*
particles
=
m_reader
->
readEvent
();
if
(
0
==
particles
)
return
EVENT_READER_ERROR
;
for_each
(
particles
.
begin
(),
particles
.
end
(),
deleteObject
<
Particle
>
);
++
m_currEvent
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment