Skip to content

Commit

Permalink
Merge pull request #1490 from sjinks/master
Browse files Browse the repository at this point in the history
Fix #1489
  • Loading branch information
sjinks authored Apr 9, 2017
2 parents e424586 + 491f0d4 commit d07f981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernels/ZendEngine3/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ void zephir_create_symbol_table()
entry->symbol_table = ex->symbol_table;
entry->prev = gptr->active_symbol_table;

symbol_table = (zend_array*)emalloc(sizeof(zend_array *));
symbol_table = (zend_array*)emalloc(sizeof(zend_array));
zend_hash_init(symbol_table, 0, NULL, ZVAL_PTR_DTOR, 0);
zend_hash_real_init(symbol_table, 0);

Expand Down

0 comments on commit d07f981

Please sign in to comment.