Commit 68c60987 authored by David Reid's avatar David Reid

OSS: Fix a memory leak.

parent a26c210d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment