mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 21:25:46 +01:00
Fix memory leak when reading MIDI files
This commit is contained in:
parent
ab4b268e5f
commit
44bca6cc8f
1 changed files with 1 additions and 0 deletions
|
|
@ -173,6 +173,7 @@ SMF::open(const std::string& path, int track)
|
|||
}
|
||||
_type0channels.insert(chan);
|
||||
}
|
||||
free (buf);
|
||||
_type0 = true;
|
||||
seek_to_start();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue