We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5740607 + 6685414 commit 7f3a2bcCopy full SHA for 7f3a2bc
sapi/phpdbg/phpdbg.c
@@ -180,12 +180,6 @@ static PHP_MSHUTDOWN_FUNCTION(phpdbg) /* {{{ */
180
phpdbg_notice("Script ended normally");
181
}
182
183
- /* hack to restore mm_heap->use_custom_heap in order to receive memory leak info */
184
- if (use_mm_wrappers) {
185
- /* ASSUMING that mm_heap->use_custom_heap is the first element of the struct ... */
186
- *(int *) zend_mm_get_heap() = 0;
187
- }
188
-
189
if (PHPDBG_G(buffer)) {
190
free(PHPDBG_G(buffer));
191
PHPDBG_G(buffer) = NULL;
0 commit comments