diff --git a/libs/evoral/SMF.cc b/libs/evoral/SMF.cc index aebc41e20a..7025c9b3e5 100644 --- a/libs/evoral/SMF.cc +++ b/libs/evoral/SMF.cc @@ -173,6 +173,7 @@ SMF::open(const std::string& path, int track) } _type0channels.insert(chan); } + free (buf); _type0 = true; seek_to_start(); }