python: Fix another segv.

This commit is contained in:
INADA Naoki 2011-01-09 23:54:06 +09:00
parent ed3f3899c1
commit 74e7ebea4f

View file

@ -299,6 +299,7 @@ cdef class Unpacker(object):
buf_size = new_size
memcpy(buf + tail, <char*>(_buf), _buf_len)
self.buf = buf
self.buf_head = head
self.buf_size = buf_size
self.buf_tail = tail + _buf_len