summaryrefslogtreecommitdiff
path: root/Modules/linuxaudiodev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/linuxaudiodev.c')
-rw-r--r--Modules/linuxaudiodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/linuxaudiodev.c b/Modules/linuxaudiodev.c
index 509823ed32..5b18f1606b 100644
--- a/Modules/linuxaudiodev.c
+++ b/Modules/linuxaudiodev.c
@@ -440,8 +440,8 @@ initlinuxaudiodev(void)
x = PyInt_FromLong((long) AFMT_S16_LE);
if (x == NULL || PyDict_SetItemString(d, "AFMT_S16_LE", x) < 0)
goto error;
- Py_DECREF(x);
error:
+ Py_DECREF(x);
return;
}