Changeset 2396

Show
Ignore:
Timestamp:
12/06/11 22:03:12 (18 months ago)
Author:
jeremyz
Message:

silly me, SPANK SPANK git add src/core/src/basics/note.cpp forgot to delete adsr within Note destructor

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/core/src/basics/note.cpp

    r2395 r2396  
    104104} 
    105105 
    106 Note::~Note() { } 
     106Note::~Note() 
     107{ 
     108    delete __adsr; 
     109    __adsr = 0; 
     110} 
    107111 
    108112static inline float check_boundary( float v, float min, float max )