diff options
author | Xinchen Hui <laruence@php.net> | 2015-07-24 16:13:07 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-07-24 16:13:07 +0800 |
commit | d44fc4a07361d2527dd7073b09e5e88134708858 (patch) | |
tree | 7bf11a426384d594d61bc2e6f813934ce96f2ce7 /sapi/phpdbg/phpdbg_list.c | |
parent | 0f1e87d9c18c52f91cb64267114267d239ad3488 (diff) | |
parent | 1dab25689a48b9645dbea023e7d42b29d0c1a1ae (diff) | |
download | php-git-d44fc4a07361d2527dd7073b09e5e88134708858.tar.gz |
Merge branch 'master' of git.php.net:php-src
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_list.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index 3a7761cc64..6d5e894930 100644 --- a/sapi/phpdbg/phpdbg_list.c +++ b/sapi/phpdbg/phpdbg_list.c @@ -299,7 +299,9 @@ zend_op_array *phpdbg_compile_file(zend_file_handle *file, int type) { return ret; } -void phpdbg_free_file_source(phpdbg_file_source *data) { +void phpdbg_free_file_source(zval *zv) { + phpdbg_file_source *data = Z_PTR_P(zv); + #if HAVE_MMAP if (data->map) { munmap(data->map, data->len + ZEND_MMAP_AHEAD); |