digitalmars.D.learn - zlib
- alex (6/6) Sep 25 2011 I cannot find a good example on std.zlib, more importantly, the whole
- Vladimir Panteleev (9/10) Sep 25 2011 That's most likely due to std.zlib allocating in its destructor[1]. I'd ...
I cannot find a good example on std.zlib, more importantly, the whole void[] and then const void[] stuff really throws me, and I get strange things like out of memory errors upon execution. -- Alex Herrmann PC load letter
Sep 25 2011
On Mon, 26 Sep 2011 06:04:20 +0300, alex <ask nospam.com> wrote:I get strange things like out of memory errors upon execution.That's most likely due to std.zlib allocating in its destructor[1]. I'd think such cases should be quite rare - IIRC it should only happen when a Zlib stream is garbage-collected and encountered an error when closing the stream. [1]: http://stackoverflow.com/questions/7323393 -- Best regards, Vladimir mailto:vladimir thecybershadow.net
Sep 25 2011