After the jump in line 1051 unicode_tmp is NULL. Found by Coverity.

This commit is contained in:
Stefan Krah 2012-09-06 13:02:46 +02:00
parent 527a2400fb
commit d9c1bf7f1f
1 changed files with 1 additions and 1 deletions

View File

@ -1099,7 +1099,7 @@ format_float_internal(PyObject *value,
&locale, 0);
done:
Py_DECREF(unicode_tmp);
Py_XDECREF(unicode_tmp);
free_locale_info(&locale);
return result;
}