Update freeSampleInfo
parent
896ff0644a
commit
ce09fb723d
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue