H
hari
A memory leak occurs when memory is allocated in a program and we
forget to deallocate and it is never returned to the operating
system, even though the program does not use the memory any longer.
Usually to finding memory leaks, i use valgrind tool. But how to find
those memory leaks in a C program without using valgrind?
Thanks in advance.
forget to deallocate and it is never returned to the operating
system, even though the program does not use the memory any longer.
Usually to finding memory leaks, i use valgrind tool. But how to find
those memory leaks in a C program without using valgrind?
Thanks in advance.