Skip to content

Commit 2a19d75

Browse files
ZackLabPCZackLabPC
authored andcommitted
segfault issue fix from urllib3 tests
1 parent 0a8a76c commit 2a19d75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfssl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ def recv_into(self, buffer, nbytes=None, flags=0):
657657

658658
data = _ffi.from_buffer(buffer)
659659
length = _lib.wolfSSL_read(self.native_object, data, nbytes)
660-
660+
_ffi.release(data)
661661
if length < 0:
662662
err = _lib.wolfSSL_get_error(self.native_object, 0)
663663
if err == _SSL_ERROR_WANT_READ:

0 commit comments

Comments
 (0)