Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ext/openssl/xp_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1634,13 +1634,12 @@ static SSL_SESSION *php_openssl_session_get_cb(SSL *ssl, const unsigned char *se
SSL_SESSION_up_ref(obj->session);
session = obj->session;
}
zval_ptr_dtor(&retval);
} else if (Z_TYPE(retval) != IS_NULL) {
zend_type_error("session_get_cb return type must be null or OpenSSLSession");
return NULL;
}
}

zval_ptr_dtor(&retval);
zval_ptr_dtor(&args[1]);

*copy = 0;
Expand Down
Loading