Commit 7a3203ed authored by David Reid's avatar David Reid

Replace a memcpy with mal_copy_memory.

parent e2f0dce7
......@@ -3755,7 +3755,7 @@ static mal_result mal_enumerate_devices__wasapi(mal_context* pContext, mal_devic
continue;
}
memcpy(pInfo->id.wasapi, id, idlen * sizeof(wchar_t));
mal_copy_memory(pInfo->id.wasapi, id, idlen * sizeof(wchar_t));
pInfo->id.wasapi[idlen] = '\0';
mal_CoTaskMemFree(pContext, id);
......
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