Mercurial > hg > nnls-chroma
comparison chordextract.cpp @ 162:c585c95f2d86
Fix memory leaks
author | Chris Cannam |
---|---|
date | Tue, 27 Jan 2015 09:47:37 +0000 |
parents | 9d706d314e08 |
children |
comparison
equal
deleted
inserted
replaced
161:ed3e7d4bcdaf | 162:c585c95f2d86 |
---|---|
139 for (int i = 0; i < (int)chordFeatures.size(); ++i) { | 139 for (int i = 0; i < (int)chordFeatures.size(); ++i) { |
140 cout << chordFeatures[i].timestamp.toString() << ": " | 140 cout << chordFeatures[i].timestamp.toString() << ": " |
141 << chordFeatures[i].label << endl; | 141 << chordFeatures[i].label << endl; |
142 } | 142 } |
143 | 143 |
144 delete[] filebuf; | |
145 delete[] mixbuf; | |
146 | |
144 delete adapter; | 147 delete adapter; |
145 } | 148 } |
146 | 149 |