diff --git a/msgpack/_unpacker.pyx b/msgpack/_unpacker.pyx index 8596904..4bfbe06 100644 --- a/msgpack/_unpacker.pyx +++ b/msgpack/_unpacker.pyx @@ -317,10 +317,6 @@ cdef class Unpacker: cdef Py_ssize_t max_buffer_size cdef uint64_t stream_offset - def __cinit__(self): - self.buf = NULL - unpack_init(&self.ctx) - def __dealloc__(self): unpack_clear(&self.ctx) PyMem_Free(self.buf)