Skip to content

Commit c6e0471

Browse files
committed
Make sure obuff equals NULL
1 parent b0347d8 commit c6e0471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/igzip_lib.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ cdef class IgzipDecompressor:
299299

300300
cdef unsigned char * decompress_buf(self, Py_ssize_t max_length):
301301
cdef Py_ssize_t data_size = 0
302-
cdef unsigned char * obuf
302+
cdef unsigned char * obuf = NULL
303303
cdef Py_ssize_t obuflen = DEF_BUF_SIZE_I
304304
cdef int err
305305
if obuflen > max_length:

0 commit comments

Comments
 (0)