Update freeSampleInfo

This commit is contained in:
Jennifer Liu 2018-07-17 16:13:40 -07:00
parent 896ff0644a
commit ce09fb723d

View File

@ -244,6 +244,7 @@ sampleInfo* getSampleInfo(const char** fileNamesTable, unsigned nbFiles, size_t
void freeSampleInfo(sampleInfo *info) {
if (!info) return;
if (info->samplesSizes) free((void*)(info->samplesSizes));
if (info->srcBuffer) free((void*)(info->srcBuffer));
free(info);