]> granicus.if.org Git - python/commit
Fix memory leaks in zlib.compress() and .decompress().
authorNadeem Vawda <nadeem.vawda@gmail.com>
Sat, 14 May 2011 21:07:36 +0000 (23:07 +0200)
committerNadeem Vawda <nadeem.vawda@gmail.com>
Sat, 14 May 2011 21:07:36 +0000 (23:07 +0200)
commit154bdf92fce957f331a57a54e3cdcaeefeba25ff
tree743646fd1a216a15f9ee9e40d977f1c074a773a9
parentd8eab60c00a32a3d7838d58f9028bfddd09375f7
Fix memory leaks in zlib.compress() and .decompress().

Also, make sure that test_zlib tests decompress() for overly-large inputs.
Lib/test/test_zlib.py
Modules/zlibmodule.c