Merge branch 'bug-424'

This commit is contained in:
Daniele Varrazzo 2016-07-01 19:28:02 +01:00
commit e41bff8ca4
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -37,6 +37,7 @@ What's new in psycopg 2.6.2
- Fix build on Windows with Python 3.5, VS 2015 (:ticket:`#380`). - Fix build on Windows with Python 3.5, VS 2015 (:ticket:`#380`).
- Fixed `!errorcodes.lookup` initialization thread-safety (:ticket:`#382`). - Fixed `!errorcodes.lookup` initialization thread-safety (:ticket:`#382`).
- Fixed `!read()` exception propagation in copy_from (:ticket:`#412`). - Fixed `!read()` exception propagation in copy_from (:ticket:`#412`).
- Fixed possible NULL TZ decref (:ticket:`#424`).
What's new in psycopg 2.6.1 What's new in psycopg 2.6.1

View File

@ -451,7 +451,7 @@ psyco_TimestampFromTicks(PyObject *self, PyObject *args)
tz); tz);
exit: exit:
Py_DECREF(tz); Py_XDECREF(tz);
Py_XDECREF(m); Py_XDECREF(m);
return res; return res;
} }