[Python-checkins] python/dist/src/Misc NEWS,1.962,1.963

aimacintyre at users.sourceforge.net aimacintyre at users.sourceforge.net
Sun Apr 4 03:01:38 EDT 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30296

Modified Files:
	NEWS 
Log Message:
If a file is opened with an explicit buffer size >= 1, repeated
close() calls would attempt to free() the buffer already free()ed on
the first close().     [bug introduced with patch #788249]

Making sure that the buffer is free()ed in file object deallocation is 
a belt-n-braces bit of insurance against a memory leak.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.962
retrieving revision 1.963
diff -C2 -d -r1.962 -r1.963
*** NEWS	25 Mar 2004 16:55:12 -0000	1.962
--- NEWS	4 Apr 2004 07:01:35 -0000	1.963
***************
*** 195,198 ****
--- 195,202 ----
    method is called as necessary.  
  
+ - fixed: if a file is opened with an explicit buffer size >= 1, repeated 
+   close() calls would attempt to free() the buffer already free()ed on
+   the first call.
+ 
  
  Extension modules




More information about the Python-checkins mailing list