Use FLUID_FREE instead of free

This commit is contained in:
Marcus Weseloh 2018-04-04 11:03:47 +02:00
parent 500931bd33
commit 78be6f7fe1

View file

@ -1730,12 +1730,12 @@ void fluid_sf2_close(SFData *sf, const fluid_file_callbacks_t *fcbs)
fcbs->fclose(sf->sffd);
if (sf->fname)
free(sf->fname);
FLUID_FREE(sf->fname);
p = sf->info;
while (p)
{
free(p->data);
FLUID_FREE(p->data);
p = fluid_list_next(p);
}
delete_fluid_list(sf->info);