fix mismatched delete/free
This commit is contained in:
parent
3a6114c025
commit
69ff6d0507
|
@ -89,7 +89,7 @@ BufferSet::clear()
|
||||||
|
|
||||||
#ifdef LV2_SUPPORT
|
#ifdef LV2_SUPPORT
|
||||||
for (LV2Buffers::iterator i = _lv2_buffers.begin(); i != _lv2_buffers.end(); ++i) {
|
for (LV2Buffers::iterator i = _lv2_buffers.begin(); i != _lv2_buffers.end(); ++i) {
|
||||||
delete (*i).second;
|
free ((*i).second);
|
||||||
}
|
}
|
||||||
_lv2_buffers.clear ();
|
_lv2_buffers.clear ();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user