Update freeSampleInfo

dev
Jennifer Liu 2018-07-17 16:13:40 -07:00
parent 896ff0644a
commit ce09fb723d
1 changed files with 1 additions and 0 deletions

View File

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