From 447e7c398158323af7757def0cf715fabfc707fa Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 12 Aug 2007 07:11:25 +0000 Subject: Fix memory leak --- Objects/floatobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v0.12