|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-03-26 14:31 UTC] andrei@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 01:00:02 2025 UTC |
Description: ------------ memcached_server_st not released in function PS_OPEN_FUNC Reproduce code: --------------- *** php_memcached.c 2010-03-26 17:37:46.000000000 +0800 --- php_memcached_1.c 2010-03-26 17:37:35.000000000 +0800 *************** *** 2425,2430 **** --- 2425,2431 ---- memc_sess = memcached_create(NULL); if (memc_sess) { status = memcached_server_push(memc_sess, servers); + memcached_server_list_free(servers); if (status == MEMCACHED_SUCCESS) { PS_SET_MOD_DATA(memc_sess); return SUCCESS;