You run a program that calls the PlaySound function to play a sound. However, a memory leak occurs in the Audiodg.exe process. To resolve this issue, you have to restart the Windows Audio service (Audiosrv). In this situation, other programs that depend on the service will be affected.
If you check the memory usage of the Audiodg.exe process, you find that the memory leak consumes several hundreds of bytes every time that the PlaySound function is called.