Commit aeaf1c23 authored by Neal Norwitz's avatar Neal Norwitz

Fix memory leak

parent a340e109
...@@ -84,7 +84,7 @@ PyFloat_FromString(PyObject *v) ...@@ -84,7 +84,7 @@ PyFloat_FromString(PyObject *v)
PyUnicode_GET_SIZE(v), PyUnicode_GET_SIZE(v),
s_buffer, s_buffer,
NULL)) NULL))
return NULL; goto error;
s = s_buffer; s = s_buffer;
len = strlen(s); len = strlen(s);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment