Just a quick question which I couldn't find through googling. Does
*** glibc detected *** ./a.out: malloc(): memory corruption: 0x00000000010a6360
mean that memory location is no longer usable and that I have a memory leak??
Also does running programs in valgrind protect against memory leaks? I refrain from using valgrind because sometimes my program works while using it but doesnt if I just use a normal terminal.