Home
last modified time | relevance | path

Searched refs:free (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/php-src/sapi/fpm/fpm/
H A Dfpm_worker_pool.c23 free(*ext); in fpm_worker_pool_free_limit_extensions()
26 free(limit_extensions); in fpm_worker_pool_free_limit_extensions()
32 free(wp->config); in fpm_worker_pool_free()
35 free(wp->user); in fpm_worker_pool_free()
38 free(wp->set_user); in fpm_worker_pool_free()
41 free(wp->home); in fpm_worker_pool_free()
47 free(wp); in fpm_worker_pool_free()
H A Dfpm_conf.c205 free(*value); in fpm_conf_expand_pool_name()
582 free(kv); in fpm_conf_set_array()
591 free(kv); in fpm_conf_set_array()
599 free(kv); in fpm_conf_set_array()
606 free(kv); in fpm_conf_set_array()
691 free(kv); in fpm_worker_pool_config_free()
697 free(kv); in fpm_worker_pool_config_free()
703 free(kv); in fpm_worker_pool_config_free()
709 free(kv); in fpm_worker_pool_config_free()
1699 free(buf); in fpm_conf_load_ini_file()
[all …]
H A Dfpm_env.c80 free(s); in clearenv()
178 free(kv->value); in fpm_env_conf_wp()
185 free(wp->user); in fpm_env_conf_wp()
190 free(wp->home); in fpm_env_conf_wp()
210 free(allocated_environ[i]); in fpm_env_cleanup()
213 free(allocated_environ); in fpm_env_cleanup()
/php-src/win32/
H A Dioutil.h189 free(mb); in php_win32_ioutil_conv_any_to_w()
201 free(mb); in php_win32_ioutil_conv_any_to_w()
206 free(ret); in php_win32_ioutil_conv_any_to_w()
207 free(mb); in php_win32_ioutil_conv_any_to_w()
214 free(ret); in php_win32_ioutil_conv_any_to_w()
215 free(mb); in php_win32_ioutil_conv_any_to_w()
233 free(mb); in php_win32_ioutil_conv_any_to_w()
253 free(mb); in php_win32_ioutil_conv_any_to_w()
498 free(pathw); in php_win32_ioutil_chdir()
565 free(pathw); in php_win32_ioutil_chmod()
[all …]
H A Dreaddir.c50 free(resolvedw); in opendir()
68 free(filespecw); in opendir()
69 free(resolvedw); in opendir()
78 free(dp); in opendir()
79 free(filespecw); in opendir()
89 free(filespecw); in opendir()
90 free(resolvedw); in opendir()
116 free(_tmp); in readdir()
144 free(dp->dirw); in closedir()
146 free(dp); in closedir()
[all …]
H A Dwsyslog.c70 free(PW32G(log_header)); in closelog()
124 free(strsw[0]); in vsyslog()
125 free(strsw[1]); in vsyslog()
130 free(strsw[0]); in vsyslog()
131 free(strsw[1]); in vsyslog()
/php-src/main/
H A Dphp_open_temporary_file.c175 free(cwdw); in php_do_open_temporary_file()
176 free(random_prefix_w); in php_do_open_temporary_file()
185 free(cwdw); in php_do_open_temporary_file()
186 free(random_prefix_w); in php_do_open_temporary_file()
196 free(cwdw); in php_do_open_temporary_file()
197 free(random_prefix_w); in php_do_open_temporary_file()
200 free(opened_path); in php_do_open_temporary_file()
206 free(cwdw); in php_do_open_temporary_file()
207 free(random_prefix_w); in php_do_open_temporary_file()
220 free(opened_path); in php_do_open_temporary_file()
[all …]
/php-src/ext/gmp/tests/
H A Dgmp_setbit_long.phpt11 die("skip cannot determine free memory amount.");
14 $free = 0;
17 $free = $m[1]/1024/1024;
19 if ($free < 8) {
20 die("skip not enough free RAM.");
/php-src/sapi/cli/
H A Dps_title.c233 free(new_argv); in save_ps_args()
384 free(ps_buffer_w); in set_ps_title()
420 free(tmp); in get_ps_title()
447 free(frozen_environ[i]); in cleanup_ps_args()
448 free(frozen_environ); in cleanup_ps_args()
449 free(new_environ); in cleanup_ps_args()
460 free(argv[i]); in cleanup_ps_args()
461 free(argv); in cleanup_ps_args()
/php-src/ext/standard/
H A Dsyslog.c46 free(BG(syslog_device)); in PHP_RSHUTDOWN_FUNCTION()
72 free(BG(syslog_device)); in PHP_FUNCTION()
87 free(BG(syslog_device)); in PHP_FUNCTION()
H A Dmd5.c307 uint32_t used, free; in PHP_MD5Update() local
318 free = 64 - used; in PHP_MD5Update()
320 if (size < free) { in PHP_MD5Update()
325 memcpy(&ctx->buffer[used], data, free); in PHP_MD5Update()
326 data = (unsigned char *)data + free; in PHP_MD5Update()
327 size -= free; in PHP_MD5Update()
341 uint32_t used, free; in PHP_MD5Final() local
347 free = 64 - used; in PHP_MD5Final()
349 if (free < 8) { in PHP_MD5Final()
350 memset(&ctx->buffer[used], 0, free); in PHP_MD5Final()
[all …]
/php-src/Zend/tests/traits/
H A Dbug69579.phpt2 Bug #69579 (Internal trait double-free)
14 // destruction causes a double-free and explodes
/php-src/TSRM/
H A Dtsrm_win32.c489 free(cmd); in popen_ex()
496 free(cmd); in popen_ex()
497 free(cmdw); in popen_ex()
507 free(cmdw); in popen_ex()
508 free(cwdw); in popen_ex()
509 free(cmd); in popen_ex()
553 free(cmd); in popen_ex()
566 free(cmd); in popen_ex()
567 free(cmdw); in popen_ex()
568 free(cwdw); in popen_ex()
[all …]
/php-src/ext/ffi/tests/
H A D007.phpt18 FFI::free($v[0]);
19 FFI::free($v[1]);
H A D035.phpt12 FFI::free($p);
28 FFI\Exception: Use after free()
H A Dgh14626.phpt2 GH-14626: FFI::free() may crash in is_zend_ptr() when at least one huge block exists and the ptr is…
27 FFI::free($ptr);
/php-src/Zend/tests/weakrefs/
H A Dnotify.phpt2 Object free handler must call zend_weakrefs_notify
21 printf("free handler of %s did not call zend_weakrefs_notify?\n", $class);
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_match_data.c103 match_data->memctl.free(match_data->heapframes, in pcre2_match_data_free()
106 match_data->memctl.free((void *)match_data->subject, in pcre2_match_data_free()
108 match_data->memctl.free(match_data, match_data->memctl.memory_data); in pcre2_match_data_free()
H A Dpcre2_context.c66 free(block); in default_free()
96 newmemctl->free = default_free; in PRIV()
124 gcontext->memctl.free = private_free; in pcre2_general_context_create()
287 gcontext->memctl.free(gcontext, gcontext->memctl.memory_data); in pcre2_general_context_free()
295 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_compile_context_free()
303 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
311 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_convert_context_free()
/php-src/ext/xml/tests/
H A Dbug72793.phpt22 function free(){
30 $xml_parser->free();
/php-src/ext/sqlite3/tests/
H A Dbug66550.phpt2 Bug #66550 (SQLite prepared statement use-after-free)
13 // Close the database connection and free the internal sqlite3_stmt object
H A Dbug69972.phpt2 Bug #69972 (Use-after-free vulnerability in sqlite3SafetyCheckSickOrOk())
14 // Trigger the use-after-free
/php-src/ext/dba/
H A Ddba_qdbm.c84 free(value); in DBA_FETCH_FUNC()
112 free(value); in DBA_EXISTS_FUNC()
138 free(value); in DBA_FIRSTKEY_FUNC()
154 free(value); in DBA_NEXTKEY_FUNC()
/php-src/ext/spl/tests/
H A Dbug69970.phpt2 Bug #69970 (Use-after-free vulnerability in spl_recursive_it_move_forward_ex())
16 // Trigger use-after-free
/php-src/sapi/phpdbg/
H A Dphpdbg_out.c118 free(msgout); in phpdbg_process_print()
153 free(msg); in phpdbg_vprint()
164 free(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf()
220 free(buffer); in phpdbg_log_internal()
241 free(buffer); in phpdbg_out_internal()

Completed in 47 milliseconds

12345678910>>...14