diff -r 89742f1fa6cb -r 73fef626dae3 contrib/python-zstandard/c-ext/decompressor.c --- a/contrib/python-zstandard/c-ext/decompressor.c Tue Sep 25 20:55:03 2018 +0900 +++ b/contrib/python-zstandard/c-ext/decompressor.c Mon Oct 08 16:27:40 2018 -0700 @@ -575,6 +575,10 @@ return NULL; } + if (ensure_dctx(self, 1)) { + return NULL; + } + result = (ZstdDecompressionReader*)PyObject_CallObject((PyObject*)&ZstdDecompressionReaderType, NULL); if (NULL == result) { return NULL;