mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
OSS: Fix a memory leak.
This commit is contained in:
@@ -5090,6 +5090,7 @@ static void mal_device_uninit__oss(mal_device* pDevice)
|
||||
mal_assert(pDevice != NULL);
|
||||
|
||||
close(pDevice->oss.fd);
|
||||
mal_free(pDevice->oss.pIntermediaryBuffer);
|
||||
}
|
||||
|
||||
static mal_result mal_device_init__oss(mal_context* pContext, mal_device_type type, mal_device_id* pDeviceID, mal_device_config* pConfig, mal_device* pDevice)
|
||||
|
||||
Reference in New Issue
Block a user