Skip to content

small fix - wr_store.c #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: topic/fix-segfault
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion wr_store.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void wr_store_init() /* {{{ */
/* See comment in wr_store_destroy */
int wr_store_dtor_restore(zval *val,int arg_num, va_list arg_list, zend_hash_key *key)
{
zend_object_dtor_obj_t *dtor = (zend_object_dtor_obj_t*) Z_PTR_P(val);
zend_object_dtor_obj_t *dtor = (zend_object_dtor_obj_t*) val;

((zend_object_handlers *) key->h)->dtor_obj = *dtor;
return ZEND_HASH_APPLY_REMOVE;
Expand Down