13
0

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:
Carl Hetherington 2012-04-01 14:58:09 +00:00
parent cc23c36961
commit d7deaa21bb

View File

@ -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;