Browse Source

Revert "avoid pointer truncation"

This reverts commit 5334d53499.
pull/1126/merge
Anatol Belski 11 years ago
parent
commit
9bae11d170
  1. 2
      sapi/phpdbg/phpdbg.c

2
sapi/phpdbg/phpdbg.c

@ -1951,7 +1951,7 @@ phpdbg_out:
/* hack to restore mm_heap->use_custom_heap in order to receive memory leak info */
if (use_mm_wrappers) {
/* ASSUMING that mm_heap->use_custom_heap is the first element of the struct ... */
*(size_t *) mm_heap = 0;
*(int *) mm_heap = 0;
}
zend_try {
php_request_shutdown(NULL);

Loading…
Cancel
Save