diff options
Diffstat (limited to 'Modules/sunaudiodev.c')
-rw-r--r-- | Modules/sunaudiodev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c index 7bf867b..e4c4c9f 100644 --- a/Modules/sunaudiodev.c +++ b/Modules/sunaudiodev.c @@ -103,6 +103,7 @@ newsadobject(PyObject *args) } if (fd < 0) { PyErr_SetFromErrnoWithFilename(SunAudioError, opendev); + PyMem_DEL(ctldev); return NULL; } PyMem_DEL(ctldev); |