Mercurial > cpython-lru_cache-weakref
diff Objects/bytesobject.c @ 86720:549cd815bf8d
Issue #18408: Fix error handling in PyBytes_FromObject()
_PyBytes_Resize(&new) sets new to NULL on error, don't call Py_DECREF() with NULL.
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Tue, 29 Oct 2013 03:14:22 +0100 |
| parents | 3055e61f1e66 |
| children | 536a7c09c7fd |
line wrap: on
line diff
