Mercurial > hg > audiodb
comparison query.cpp @ 479:0af0c31dfa14 memory-leaks
added free() call for data_buffer at end of query_loop_points()
author | mas01mc |
---|---|
date | Sat, 10 Jan 2009 13:14:05 +0000 |
parents | 3171089ecfd7 |
children |
comparison
equal
deleted
inserted
replaced
478:3171089ecfd7 | 479:0af0c31dfa14 |
---|---|
593 reporter->add_point(pp.trackID, pp.qpos, pp.spos, dist); | 593 reporter->add_point(pp.trackID, pp.qpos, pp.spos, dist); |
594 } | 594 } |
595 exact_evaluation_queue->pop(); | 595 exact_evaluation_queue->pop(); |
596 } | 596 } |
597 // Cleanup | 597 // Cleanup |
598 free(data_buffer); | |
598 SAFE_DELETE_ARRAY(sNorm); | 599 SAFE_DELETE_ARRAY(sNorm); |
599 SAFE_DELETE_ARRAY(sPower); | 600 SAFE_DELETE_ARRAY(sPower); |
600 SAFE_DELETE_ARRAY(meanDBdur); | 601 SAFE_DELETE_ARRAY(meanDBdur); |
601 } | 602 } |
602 | 603 |