mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Fix memory leak
This commit is contained in:
parent
646049ec30
commit
447e7c3981
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue