summaryrefslogtreecommitdiff
path: root/main/streams
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-06-06 01:51:48 (GMT)
committerWez Furlong <wez@php.net>2005-06-06 01:51:48 (GMT)
commit42ada22e0c9de8b8e2eab294f91103a90b42829b (patch)
treee228cb02047edb82dcaab59c365151522413ceef /main/streams
parentfc8aace243266865977079e9ba739671e10a84a1 (diff)
downloadphp-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 'main/streams')
0 files changed, 0 insertions, 0 deletions