[Python-checkins] python/dist/src/Modules zlibmodule.c,2.57,2.57.6.1

jhylton@sourceforge.net jhylton@sourceforge.net
Fri, 19 Apr 2002 07:59:10 -0700


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

Modified Files:
      Tag: release22-maint
	zlibmodule.c 
Log Message:
[backport bug fix from the trunk]

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.57
retrieving revision 2.57.6.1
diff -C2 -d -r2.57 -r2.57.6.1
*** zlibmodule.c	8 Dec 2001 18:02:58 -0000	2.57
--- zlibmodule.c	19 Apr 2002 14:59:08 -0000	2.57.6.1
***************
*** 649,652 ****
--- 649,653 ----
  	Py_DECREF(RetVal);
  	RetVal = NULL;
+ 	goto error;
      }