Skip to content

Commit

Permalink
silly me, SPANK SPANK git add src/core/src/basics/note.cpp forgot to …
Browse files Browse the repository at this point in the history
…delete __adsr within Note destructor

git-svn-id: http://svn.assembla.com/svn/hydrogen/trunk@2396 3b3fb362-3133-0410-aa15-cf69e0a59cb7
  • Loading branch information
jeremyz committed Dec 6, 2011
1 parent d2ee804 commit cb9b2de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/src/basics/note.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,11 @@ Note::Note( Note* other, Instrument* instrument )
}
}

Note::~Note() { }
Note::~Note()
{
delete __adsr;
__adsr = 0;
}

static inline float check_boundary( float v, float min, float max )
{
Expand Down

0 comments on commit cb9b2de

Please sign in to comment.