PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Valgrind errors on Staff solution
Date: Wednesday, 11 Nov 2020, 12:46:02


    > Message Posted By: Unknown
    >
    > When I try compressing my decode with the staff solutions and testing with
    > valgrind, I see memory leaks. How is this possible?

As stated in the specification:

  H. encode and decode should be relatively bombproof, but may assume that
     malloc(), calloc(), and realloc() never fail.  While heap storage need not
     be free()-ed before exiting, it must all be reachable at that time.

--Stan-
PREV INDEX NEXT