From: Neal Norwitz Date: Sun, 12 Aug 2007 07:11:25 +0000 (+0000) Subject: Fix memory leak X-Git-Tag: v3.0a1~430 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=447e7c398158323af7757def0cf715fabfc707fa;p=thirdparty%2FPython%2Fcpython.git Fix memory leak --- diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 4260f50048ef..908258cb3a69 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); }