Skip to content

Commit 90911ab

Browse files
committed
Fix wrong return type
1 parent d53ab7a commit 90911ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/isal/igzip_libmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ igzip_lib_IgzipDecompressor__new__(PyTypeObject *type,
412412
Py_buffer zdict_buf;
413413
if (PyObject_GetBuffer(self->zdict, &zdict_buf, PyBUF_SIMPLE) == -1) {
414414
Py_CLEAR(self);
415-
return -1;;
415+
return NULL;
416416
}
417417
if ((size_t)zdict_buf.len > UINT32_MAX) {
418418
PyErr_SetString(PyExc_OverflowError,

0 commit comments

Comments
 (0)