i\'m doing some tests allocating and deallocating memory. This is the code i\'m using:
#include #include #define WAVE_SIZE
When the system memory will be actually released depends on the OS.
Foe example in Windows, even if you close a program, the memory is not released at the same time. It is made in order to reuse it on the next program start.