memory leaks

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johannes Philipp Grohs

    #1

    memory leaks

    Hello,

    I am using the mysqlclient library 4.0.14 on win2k.
    It works fine but there are memory leaks I have no solutions for.

    I have tried this:

    int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
    {
    MYSQL MySQL;
    mysql_init(&MyS QL);
    mysql_close(&My SQL);
    mysql_thread_en d();

    return 0;
    }

    .... but in the debug mode I get results like this:

    Detected memory leaks!
    Dumping objects ->
    {52} normal block at 0x00974088, 556 bytes long.
    Data: < È > 00 00 00 00 C8 00 00 00 00 00 00 00 00 00 00 00
    Object dump complete.

    Do you know how to avoid this problem?

    Thank you very much

    Philipp Grohs

    PS: I am working with MS Visual C++ 6.0

    --
    MySQL General Mailing List
    For list archives: http://lists.mysql.com/mysql
    To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw

Working...