diff options
author | Andrey Hristov <andrey@php.net> | 2010-04-01 11:50:24 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-04-01 11:50:24 +0000 |
commit | 4735c712839f3aea267fc7263051261d7562c825 (patch) | |
tree | e03f883efb04b9cbc31e9ac98aaf551d0c742be6 /ext/mysqlnd/mysqlnd_debug.c | |
parent | 94ef6d481ffea85b61289ac6878375ca219bc327 (diff) | |
download | php-git-4735c712839f3aea267fc7263051261d7562c825.tar.gz |
Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().
Diffstat (limited to 'ext/mysqlnd/mysqlnd_debug.c')
0 files changed, 0 insertions, 0 deletions