All Questions
2 questions
0
votes
1
answer
225
views
pset4 recover.c valgrind claims there is unfreed memory. I'd like to know how/why?
I just finished recover.c in pset4. It compiles, runs, and creates all the jpgs just fine, but valgrind gives me the following leak summary (full leak summary at bottom):
==15709== LEAK SUMMARY:
==...
1
vote
1
answer
2k
views
Correct use of fopen, fclose, file pointers
I found this problem while working on recover.c. My program recovers all the image files, check50 says everything's cool, but when I run Valgrind, it gives me a ton of errors. After some tests, I ...