diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-12 07:11:25 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-12 07:11:25 (GMT) |
commit | 447e7c398158323af7757def0cf715fabfc707fa (patch) | |
tree | f9760e51d4807a81e5a97bf5fbdcd4c4e89eebab /Objects/floatobject.c | |
parent | 646049ec307cb24d2992d9c1d00c01b2a5fab122 (diff) | |
download | cpython-447e7c398158323af7757def0cf715fabfc707fa.zip cpython-447e7c398158323af7757def0cf715fabfc707fa.tar.gz cpython-447e7c398158323af7757def0cf715fabfc707fa.tar.bz2 |
Fix memory leak
Diffstat (limited to 'Objects/floatobject.c')
-rw-r--r-- | Objects/floatobject.c | 2 |
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); } |