]> granicus.if.org Git - python/commit
Added missing DECREF's in the error branches when creating a compressor or
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 29 Jan 1999 21:49:34 +0000 (21:49 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 29 Jan 1999 21:49:34 +0000 (21:49 +0000)
commit1c7aaa2d730813793d8a138d170360b0d420576a
treee75bfce20958b47c3cb9b8483e6fff1264654ac9
parent9b0dc53d895d9f3b9036ca6f49529c62bf3a765e
Added missing DECREF's in the error branches when creating a compressor or
    decompressor object.  This required adding a flag to the struct which is
    true if initialisation was completed; on object destruction, deflateEnd()
    is only called if the flag is true.
Modules/zlibmodule.c