mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-06-18 21:52:06 +00:00
Apply suggestion from @methane
This commit is contained in:
parent
ffc1b206db
commit
23da5146a4
1 changed files with 0 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue