Possible memory leakage?

Поиск
Список
Период
Сортировка
От Johann Zuschlag
Тема Possible memory leakage?
Дата
Msg-id E155YTW-0000op-00@mrelay01.kundenserver.de
обсуждение исходный текст
Список pgsql-odbc
Hi all,

So far the driver is ok (using cvs from today).
But while looking for my 'page fault error when exiting' I found the following:

When I tried to connect with a wrong ip (on purpose) I found
something interesting. My application tried 6 times to connect,
before finally giving up.

I just wonder why SQLAllocEnv allways allocates new
memory. Isn't it freed correctly? Maybe I misunderstood something.
I don't know C well.

I just cut out the interesting lines. I also skipped the lines between
SQLAllocEnv and SQLFreeEnv. Complete (small) log available.

**** in SQLAllocEnv **
** exit SQLAllocEnv: phenv = 45942064 **
**** in SQLFreeEnv: env = 45942064 **
in EN_Destructor, self=45942064
exit EN_Destructor: rv = 1
   ok


**** in SQLAllocEnv **
** exit SQLAllocEnv: phenv = 45942272 **
**** in SQLFreeEnv: env = 45942272 **
in EN_Destructor, self=45942272
exit EN_Destructor: rv = 1
   ok

**** in SQLAllocEnv **
** exit SQLAllocEnv: phenv = 45942448 **
SQLFreeConnect: returning...
**** in SQLFreeEnv: env = 45942448 **
in EN_Destructor, self=45942448
exit EN_Destructor: rv = 1
   ok

**** in SQLAllocEnv **
** exit SQLAllocEnv: phenv = 45942624 **
**** in SQLFreeEnv: env = 45942624 **
in EN_Destructor, self=45942624
exit EN_Destructor: rv = 1
   ok

**** in SQLAllocEnv **
** exit SQLAllocEnv: phenv = 45942800 **
**** in SQLFreeEnv: env = 45942800 **
in EN_Destructor, self=45942800
exit EN_Destructor: rv = 1
   ok

**** in SQLAllocEnv **
** exit SQLAllocEnv: phenv = 45942976 **
t: returning...
**** in SQLFreeEnv: env = 45942976 **
in EN_Destructor, self=45942976
exit EN_Destructor: rv = 1
   ok

regards

Johann



Johann Zuschlag
zuschlag2@online.de



В списке pgsql-odbc по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Aggregate function problem in VB6
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Aggregate function problem in VB6