From b4e1fa15d0c809439139db3a60a3969d848dcf77 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 25 May 2010 16:46:35 +0000 Subject: Minor memory leak fix in myriad, valgrind+unit tests = cool --- src/myriad.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/myriad.cpp b/src/myriad.cpp index 9e128d1..f5bc67b 100644 --- a/src/myriad.cpp +++ b/src/myriad.cpp @@ -365,6 +365,7 @@ void Bu::Myriad::deleteStream( int iId ) } aStreams.erase( i ); bHeaderChanged = true; + delete pStream; return; } } -- cgit v1.2.3