From 69ff6d05077dc9306ab4cd6c5a0f90c2ba076bf0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 13 Sep 2015 04:08:49 +0200 Subject: [PATCH] fix mismatched delete/free --- libs/ardour/buffer_set.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/buffer_set.cc b/libs/ardour/buffer_set.cc index cd0a9c5058..d656f838fa 100644 --- a/libs/ardour/buffer_set.cc +++ b/libs/ardour/buffer_set.cc @@ -89,7 +89,7 @@ BufferSet::clear() #ifdef LV2_SUPPORT for (LV2Buffers::iterator i = _lv2_buffers.begin(); i != _lv2_buffers.end(); ++i) { - delete (*i).second; + free ((*i).second); } _lv2_buffers.clear (); #endif