Skip to content

dsound: Use malloc and free instead of _recalloc.

The memory is completely overwritten a few lines later, so there is no reason to preserve its original contents. Furthermore, _recalloc will not be available if this DLL switches from ucrtbase to msvcrt, and the code as written would leak memory if _recalloc failed.

Merge request reports

Loading