1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-13 16:16:33 +01:00

Variable cleanup

This commit is contained in:
Daniel Winzen
2015-04-23 18:30:38 +02:00
parent 759ff8cd0d
commit 92d522132e
14 changed files with 12 additions and 21 deletions

View File

@@ -778,6 +778,11 @@ int FFmpegImportFileHandle::WriteData(streamContext *sc)
default:
wxLogError(wxT("Stream %d has unrecognized sample format %d."), streamid, sc->m_samplefmt);
for (int chn=0; chn < nChannels; chn++)
{
free(tmp[chn]);
}
free(tmp);
return 1;
break;
}