Fork me on GitHub

Changeset 218 in svn


Ignore:
Timestamp:
Feb 2, 2009, 12:30:13 PM (16 years ago)
Author:
Xavier Rouby
Message:

memory leak corrected in destructor

Location:
trunk/Utilities/FROG/Includes/FROG
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/FROG/Includes/FROG/FROG_Element_Base_With_DetId_And_Name.h

    r95 r218  
    2323        static unsigned int sizeOf()      { return 6 + sizeof(unsigned int) + sizeof(unsigned short);}
    2424
    25 
     25        ~FROG_Element_Base_With_DetId_And_Name() {delete [] Name_;}
    2626        FROG_Element_Base_With_DetId_And_Name(unsigned int detId, const char* name, ...) :
    2727        FROG_Element_Base_With_DetId(C_FEB_DETID_NAME,detId){
  • trunk/Utilities/FROG/Includes/FROG/FROG_Events.h

    r96 r218  
    4141
    4242        }
    43         ~FROG_Events(void){}
     43        ~FROG_Events(){  delete prim; /*delete frogObjects_;*/  }
    4444
    4545        void AddEvent(FROG_Element_Event* event);
Note: See TracChangeset for help on using the changeset viewer.