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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=447e7c398158323af7757def0cf715fabfc707fa;p=python Fix memory leak --- diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 4260f50048..908258cb3a 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); }