cvs: php4 /ext/msql php_msql.c

From: Date: Sat, 04 Nov 2000 10:45:30 +0000
Subject: cvs: php4 /ext/msql php_msql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2475@lists.php.net to get a copy of this message
zeev Sat Nov 4 02:45:30 2000 EDT Modified files: /php4/ext/msql php_msql.c Log: Now make it work too (thanks for noticing that Andi :) Index: php4/ext/msql/php_msql.c diff -u php4/ext/msql/php_msql.c:1.27 php4/ext/msql/php_msql.c:1.28 --- php4/ext/msql/php_msql.c:1.27 Sat Nov 4 02:36:12 2000 +++ php4/ext/msql/php_msql.c Sat Nov 4 02:45:30 2000 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_msql.c,v 1.27 2000/11/04 10:36:12 zeev Exp $ */ +/* $Id: php_msql.c,v 1.28 2000/11/04 10:45:30 zeev Exp $ */ #include "php.h" #include "php_msql.h" @@ -121,7 +121,7 @@ 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)

« previous php.cvs (#2475) next »