After the jump in line 1051 unicode_tmp is NULL. Found by Coverity.
This commit is contained in:
parent
527a2400fb
commit
d9c1bf7f1f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue