Fixing Memory Leaks in C with Valgrind

" The most dangerous phrase in the language is, &#x27;We’ve always done it this way&#x27;." ~ Grace Hopper Memory leaks are a sneaky class of bugs that come about when memory is allocated for something and not reclaimed. It is hard to detect because, at a glance, your program could run just fine. No logic bugs or more critical segmentation fault type of bugs occuring that clearly crash the program…