mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-22 11:51:56 +00:00
avoid double free in fluid_sample_set_sound_data()
This commit is contained in:
parent
a051d57ab3
commit
08147cc3d6
1 changed files with 1 additions and 0 deletions
|
@ -459,6 +459,7 @@ fluid_sample_set_sound_data (fluid_sample_t* sample,
|
|||
{
|
||||
FLUID_FREE(sample->data);
|
||||
FLUID_FREE(sample->data24);
|
||||
sample->data = sample->data24 = NULL;
|
||||
}
|
||||
|
||||
if (copy_data)
|
||||
|
|
Loading…
Reference in a new issue