Skip to content

Commit d9c1bf7

Browse files
author
Stefan Krah
committed
After the jump in line 1051 unicode_tmp is NULL. Found by Coverity.
1 parent 527a240 commit d9c1bf7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/formatter_unicode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ format_float_internal(PyObject *value,
10991099
&locale, 0);
11001100

11011101
done:
1102-
Py_DECREF(unicode_tmp);
1102+
Py_XDECREF(unicode_tmp);
11031103
free_locale_info(&locale);
11041104
return result;
11051105
}

0 commit comments

Comments
 (0)