mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 19:51:51 +00:00
PHP7 adapt: fix double free
This commit is contained in:
parent
794da39882
commit
cfb1756fd7
@ -179,8 +179,6 @@ static void v8js_free_storage(zend_object *object TSRMLS_DC) /* {{{ */
|
||||
|
||||
c->modules_stack.~vector();
|
||||
c->modules_base.~vector();
|
||||
|
||||
efree(c);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
@ -404,8 +404,6 @@ static void v8js_v8object_free_storage(zend_object *object TSRMLS_DC) /* {{{ */
|
||||
c->v8obj.Reset();
|
||||
c->ctx->v8js_v8objects.remove(c);
|
||||
}
|
||||
|
||||
efree(c);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user