I used the memory allocation code in a C file and I didn't free it, then the file was deleted. My question is: does a memory leak occur even after the file is deleted without freeing, knowing that the memory of the partition that contains the OP and the programs keeps running out of memory and I have already used "Disk Cleanup"?
Note: Someone told me that once you I restart the computer, everything in the dynamic memory will vanish, is that true?