Fix reference of track after free() (#4795).
git-svn-id: svn://localhost/ardour2/branches/3.0@11773 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cc23c36961
commit
d7deaa21bb
@ -875,6 +875,7 @@ smf_load_from_memory(const void *buffer, const size_t buffer_length)
|
||||
if (parse_mtrk_chunk(track)) {
|
||||
g_warning("SMF warning: Cannot load track.");
|
||||
smf_track_delete(track);
|
||||
continue;
|
||||
}
|
||||
|
||||
track->file_buffer = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user