]> granicus.if.org Git - python/commitdiff
Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
authorMeador Inge <meadori@gmail.com>
Wed, 28 Sep 2011 01:52:04 +0000 (20:52 -0500)
committerMeador Inge <meadori@gmail.com>
Wed, 28 Sep 2011 01:52:04 +0000 (20:52 -0500)
Thanks to Suman Saha for finding the bug and providing a patch.

1  2 
Misc/ACKS
Misc/NEWS
Modules/_ctypes/_ctypes.c

diff --cc Misc/ACKS
index 84dad680b7289f490e1ca59041bb983cc4b7543c,6845faaac6272e090454ba9eaab91843650b7fd5..0d1a77b7d945c2a23688b5cadebe04a1d357f4de
+++ b/Misc/ACKS
@@@ -826,8 -773,8 +826,9 @@@ Jeff Rus
  Sam Rushing
  Mark Russell
  Nick Russo
 +Patrick Sabin
  SĂ©bastien SablĂ©
+ Suman Saha
  Hajime Saitou
  George Sakkis
  Rich Salz
diff --cc Misc/NEWS
index 3c2ef373641dd818b45013ca7fe9ee86c2d49f8e,b5c75b49cd84d5be0b2cd0f58cdc58d648e16ff9..b5e5b15efc7e96fe122ecbdfb4baef7944370233
+++ b/Misc/NEWS
@@@ -1295,32 -939,6 +1295,35 @@@ Tools/Demo
  Extension Modules
  -----------------
  
++- Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
++  Thanks to Suman Saha for finding the bug and providing a patch.
++
 +- Issue #13022: Fix: _multiprocessing.recvfd() doesn't check that
 +  file descriptor was actually received.
 +
 +- Issue #1172711: Add 'long long' support to the array module.
 +  Initial patch by Oren Tirosh and Hirokazu Yamamoto.
 +
 +- Issue #12483: ctypes: Fix a crash when the destruction of a callback
 +  object triggers the garbage collector.
 +
 +- Issue #12950: Fix passing file descriptors in multiprocessing, under
 +  OpenIndiana/Illumos.
 +
 +- Issue #12764: Fix a crash in ctypes when the name of a Structure field is not
 +  a string.
 +
 +- Issue #11241: subclasses of ctypes.Array can now be subclassed.
 +
 +- Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
 +  some functions like file.write().
 +
 +- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
 +  signature.  Without this, architectures where sizeof void* != sizeof int are
 +  broken.  Patch given by Hallvard B Furuseth.
 +
 +- Issue #12221: Replace pyexpat.__version__ with the Python version.
 +
  - Issue #12051: Fix segfault in json.dumps() while encoding highly-nested
    objects using the C accelerations.
  
Simple merge