commit | d9c1bf7f1f4d5436956c3629ed97cec507463951 | [log] [tgz] |
---|---|---|
author | Stefan Krah <skrah@bytereef.org> | Thu Sep 06 13:02:46 2012 +0200 |
committer | Stefan Krah <skrah@bytereef.org> | Thu Sep 06 13:02:46 2012 +0200 |
tree | 2d7f0f8e0fe04e99cb386bb540b4fd6fad6beb88 | |
parent | 527a2400fb236bb4ab9fa81ad90d932bab6da071 [diff] [blame] |
After the jump in line 1051 unicode_tmp is NULL. Found by Coverity.
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 @@ &locale, 0); done: - Py_DECREF(unicode_tmp); + Py_XDECREF(unicode_tmp); free_locale_info(&locale); return result; }