summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/formatter_unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index a263efc..aa62502 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -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;
}