]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-36186: Fix linuxaudiodev.linux_audio_device() error handling (GH-12163)
authorstratakis <cstratak@redhat.com>
Wed, 6 Mar 2019 14:11:56 +0000 (15:11 +0100)
committerVictor Stinner <vstinner@redhat.com>
Wed, 6 Mar 2019 14:11:56 +0000 (15:11 +0100)
commitb2aefd77e1da438aed649d018d6aa504ec35eac8
tree73c1c2a3b4bee2dfd2f26f3ee2d5a0d4feab4b27
parent84772e0ab49ee09acb44e30551aa5cfc1eafe5dc
[2.7] bpo-36186: Fix linuxaudiodev.linux_audio_device() error handling (GH-12163)

Fix linuxaudiodev.linux_audio_device() error handling:
close the internal file descriptor if it fails to open the device.
Misc/NEWS.d/next/Library/2019-03-04-16-39-16.bpo-36186.Hqw1A_.rst [new file with mode: 0644]
Modules/linuxaudiodev.c