From: Zeev Suraski Date: Sat, 4 Nov 2000 10:45:31 +0000 (+0000) Subject: Now make it work too (thanks for noticing that Andi :) X-Git-Tag: php-4.0.4RC3~324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47654fd02148c85111b2d280132589d44f7ee7ff;p=php Now make it work too (thanks for noticing that Andi :) --- diff --git a/ext/msql/php_msql.c b/ext/msql/php_msql.c index bdb27f96e0..0e0baba5a2 100644 --- a/ext/msql/php_msql.c +++ b/ext/msql/php_msql.c @@ -121,7 +121,7 @@ static void _delete_query(zend_rsrc_list_entry *rsrc) m_query *query = (m_query *)rsrc->ptr; if(query->result) msqlFreeResult(query->result); - efree(rsrc); + efree(query); } static m_query *php_msql_query_wrapper(m_result *res, int af_rows)