summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/floatobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 4260f50..908258c 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -84,7 +84,7 @@ PyFloat_FromString(PyObject *v)
PyUnicode_GET_SIZE(v),
s_buffer,
NULL))
- return NULL;
+ goto error;
s = s_buffer;
len = strlen(s);
}