mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-08 00:31:11 +00:00
Fix a memory leak in OSS driver
This commit is contained in:
parent
d6903d0ff7
commit
0c4342b461
1 changed files with 2 additions and 0 deletions
|
@ -485,6 +485,8 @@ delete_fluid_oss_audio_driver(fluid_audio_driver_t *p)
|
|||
}
|
||||
|
||||
FLUID_FREE(dev->buffer);
|
||||
FLUID_FREE(dev->buffers[0]);
|
||||
FLUID_FREE(dev->buffers[1]);
|
||||
FLUID_FREE(dev);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue