A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2001-January/014966.html below:

[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.180,2.181

[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.180,2.181Neil Schemenauer nascheme@users.sourceforge.net
Mon, 15 Jan 2001 20:27:49 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv4144/Modules

Modified Files:
	posixmodule.c 
Log Message:
Plug memory leak.


Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.180
retrieving revision 2.181
diff -C2 -r2.180 -r2.181
*** posixmodule.c	2001/01/08 17:51:55	2.180
--- posixmodule.c	2001/01/16 04:27:47	2.181
***************
*** 5579,5583 ****
  
  #ifdef HAVE_PUTENV
! 	posix_putenv_garbage = PyDict_New();
  #endif
  }
--- 5579,5584 ----
  
  #ifdef HAVE_PUTENV
! 	if (posix_putenv_garbage == NULL)
! 		posix_putenv_garbage = PyDict_New();
  #endif
  }




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4