From 23da5146a44848587eee11b8159b251b5ecf3951 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Wed, 3 Jun 2026 16:35:40 +0900 Subject: [PATCH] Apply suggestion from @methane --- msgpack/_unpacker.pyx | 4 ---- 1 file changed, 4 deletions(-) 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)