mysql-4.1.0-alpha for Linux leaks memory

------_=_NextPart_001_01C32BCA.805BE99A
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Hi, Folks

Basically, in the struct st_mysql_stmt, there is a field called
char *query, which is allocated in the mysql_prepare(), but not freed in
the stmt_close function.

This will cause memory leak.

Cheers,

Peter



------_=_NextPart_001_01C32BCA.805BE99A--
Peter Zhu [ Fr, 06 Juni 2003 03:25 ] [ ID #67908 ]

Re: mysql-4.1.0-alpha for Linux leaks memory

On Thu, 2003-06-05 at 18:25, Peter Zhu wrote:
> Hi, Folks
>
> Basically, in the struct st_mysql_stmt, there is a field called
> char *query, which is allocated in the mysql_prepare(), but not freed in
> the stmt_close function.
>
> This will cause memory leak.

This is already fixed in the current BK tree.

Thanks for the report.
--
Regards, Venu
For technical support contracts, go to https://order.mysql.com
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Venu <venu [at] mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Developer
/_/ /_/\_, /___/\___\_\___/ Palo Alto, CA-94306, USA
<___/ www.mysql.com



--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Venu [ Fr, 06 Juni 2003 04:12 ] [ ID #67909 ]
Datenbanken » gmane.comp.db.mysql.bugs » mysql-4.1.0-alpha for Linux leaks memory

Vorheriges Thema: Is it possible to tell a table to UPDATE from?
Nächstes Thema: MySQL Connector/J 3.1 Error connecting to MySQL 4.1 (alpha)