summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/exceptions.c b/Python/exceptions.c
index da78f2b..d489aa6 100644
--- a/Python/exceptions.c
+++ b/Python/exceptions.c
@@ -1191,7 +1191,7 @@ UnicodeError__init__(PyObject *self, PyObject *args, PyTypeObject *objecttype)
&PyInt_Type, &start,
&PyInt_Type, &end,
&PyString_Type, &reason))
- return NULL;
+ goto finally;
if (PyObject_SetAttrString(self, "args", args))
goto finally;