diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-25 16:46:35 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-25 16:46:35 +0000 |
commit | b4e1fa15d0c809439139db3a60a3969d848dcf77 (patch) | |
tree | 62aacc33d56c27285550fddf0f8be9418d9d0103 | |
parent | 286dc953c1e0e4a75589e4068e29a317a03f23dd (diff) | |
download | libbu++-b4e1fa15d0c809439139db3a60a3969d848dcf77.tar.gz libbu++-b4e1fa15d0c809439139db3a60a3969d848dcf77.tar.bz2 libbu++-b4e1fa15d0c809439139db3a60a3969d848dcf77.tar.xz libbu++-b4e1fa15d0c809439139db3a60a3969d848dcf77.zip |
Minor memory leak fix in myriad, valgrind+unit tests = cool
Diffstat (limited to '')
-rw-r--r-- | src/myriad.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 ) | |||
365 | } | 365 | } |
366 | aStreams.erase( i ); | 366 | aStreams.erase( i ); |
367 | bHeaderChanged = true; | 367 | bHeaderChanged = true; |
368 | delete pStream; | ||
368 | return; | 369 | return; |
369 | } | 370 | } |
370 | } | 371 | } |