[Python-checkins] python/dist/src/Modules zlibmodule.c,2.59,2.60

jhylton@sourceforge.net jhylton@sourceforge.net
Fri, 19 Apr 2002 07:37:09 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv11054

Modified Files:
	zlibmodule.c 
Log Message:
Fix SF #544995 (zlib crash on second flush call)
Bug fix by mhammond.

Bug fix candidate for 2.2, not present in 2.1.


Index: zlibmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/zlibmodule.c,v
retrieving revision 2.59
retrieving revision 2.60
diff -C2 -d -r2.59 -r2.60
*** zlibmodule.c	1 Apr 2002 14:53:37 -0000	2.59
--- zlibmodule.c	19 Apr 2002 14:37:07 -0000	2.60
***************
*** 649,652 ****
--- 649,653 ----
  	Py_DECREF(RetVal);
  	RetVal = NULL;
+ 	goto error;
      }