mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
fix mismatched delete/free
This commit is contained in:
parent
3a6114c025
commit
69ff6d0507
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue