Merge branch 'bug-424' into maint_2_6

This commit is contained in:
Daniele Varrazzo 2016-07-01 19:30:01 +01:00
commit 5e7a4983c6
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

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

View File

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