File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -436,6 +436,7 @@ Bertrand Janin
436436Geert Jansen
437437Jack Jansen
438438Bill Janssen
439+ Thomas Jarosch
439440Drew Jenkins
440441Flemming Kjær Jensen
441442MunSic Jeong
Original file line number Diff line number Diff line change 8282Extension Modules
8383-----------------
8484
85+ - Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by
86+ Thomas Jarosch.
87+
8588- Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
8689 Thanks to Suman Saha for finding the bug and providing a patch.
8790
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ newossobject(PyObject *arg)
129129 }
130130
131131 if (ioctl (fd , SNDCTL_DSP_GETFMTS , & afmts ) == -1 ) {
132+ close (fd );
132133 PyErr_SetFromErrnoWithFilename (PyExc_IOError , devicename );
133134 return NULL ;
134135 }
You can’t perform that action at this time.
0 commit comments