]> granicus.if.org Git - python/commit
When _PyString_Resize() reports failure, the variable referring to the
authorFred Drake <fdrake@acm.org>
Fri, 18 Dec 1998 19:46:59 +0000 (19:46 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 18 Dec 1998 19:46:59 +0000 (19:46 +0000)
commit6de7d0c3388f93288449449cc2a711358ffc4529
tree375c1d669c91480ecd384818395bfb084456d8bd
parent654387efbd9ba363a1911e493a8477f15608e1a0
When _PyString_Resize() reports failure, the variable referring to the
string we wanted to resize is set to NULL.  Don't Py_DECREF() those
variables!  (5 places)
Modules/zlibmodule.c