Memory leak libmysqlclient_r (ref #7619)
Marcus Alves Grando <[email protected]> Wed, 25 Jan 2006 14:37:44 -0200
| Newsgroups | gmane.comp.db.mysql.bugs |
|---|---|
| Organization | Grupos Internet S/A |
| Message-ID | <[email protected]> |
MySQL Developers, Exists one memory leak in libmysqlclient_r (my_thread_global_init()). my_thread_global_init() call pthread_key_create(). If sucessfull, to destroy memory allocated by pthread_key_create() need call pthread_key_delete(). In fact my_end()->my_thread_global_end() do it. But mysql_close() never call my_end(). In first look i think that my_end() need to be called in mysql_close_free() [sql-common/client.c]. But it's only what i think. Any idea how to solve this? Thanks -- Marcus Alves Grando marcus(at)corp.grupos.com.br | Grupos Internet S/A mnag(at)FreeBSD.org | FreeBSD.org -- MySQL Bugs Mailing List For list archives: http://lists.mysql.com/bugs To unsubscribe: http://lists.mysql.com/[email protected]