Fork me on GitHub

Changeset 587 in svn for trunk


Ignore:
Timestamp:
Apr 30, 2012, 9:58:06 AM (13 years ago)
Author:
cp3-support
Message:

cleaning table to particle tables to avoid memory leak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/HepMCConverter.cc

    r574 r587  
    5959
    6060 unsigned int particle_counter=0;
     61 index_to_particle.clear();
     62 particle_to_index.clear();
    6163 index_to_particle.reserve(evt->particles_size());
    6264 index_to_particle[0] = 0;
Note: See TracChangeset for help on using the changeset viewer.