summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-06-06 01:51:48 +0000
committerWez Furlong <wez@php.net>2005-06-06 01:51:48 +0000
commit42ada22e0c9de8b8e2eab294f91103a90b42829b (patch)
treee228cb02047edb82dcaab59c365151522413ceef /sapi/cli/php_cli.c
parentfc8aace243266865977079e9ba739671e10a84a1 (diff)
downloadphp-git-42ada22e0c9de8b8e2eab294f91103a90b42829b.tar.gz
Avoid double-freeing streams.
This can happen because all streams are registered as resources; the engine also tracks them in the open_files global. Avoid the potential for double-freeing by simply making streams exposed to the engine have no closer for the engine to call; they will already be in the resource list, and thus will be shut down properly at request end.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions