Help optimizing UnCompress for gzipped files

Steven Schveighoffer schveiguy at yahoo.com
Thu Jan 4 19:39:13 UTC 2018


On 1/4/18 1:57 PM, Christian Köstlin wrote:
> Sorry, but I do not get how to cleanup the mallocated memory :)
> Could you help me out here?

free(mypipe.window.ptr);

At the moment this works because you haven't released any data from the 
front. But eventually, I will need to figure out how to handle this when 
it's not so neat.

-Steve


More information about the Digitalmars-d-learn mailing list