Re: memory leak of PQmakeEmptyPGresult?

Started by Annover 21 years ago1 messagesgeneral
Jump to latest
#1Ann
he629@yahoo.com.cn

hi,Gaetano Mendola:

you wrote:

Ann wrote:
I found the reason of this question and fixed the bug :))

Why then don't you share it ?

em ,because i make a stupid mistake in programming!! :((

I made use of transactions to ensure database consistency, and then, i called PQexec() to begin,commit or rollback a transaction, but ignored clearing the PGresult pointer that was returned by PQexec().......

I was afraid of others dissipating their energies in it,so, i declared i fixed the bug.

Thank you to pay attention to my question.Thanks very much!!

Regards
Ann

---------------------------------
Do You Yahoo!?
150锟斤拷锟斤拷MP3锟斤拷锟斤拷眩锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷值锟斤拷锟�
锟斤拷女锟斤拷锟斤拷应锟叫撅拷锟叫o拷锟窖憋拷锟斤拷图锟斤拷锟斤拷图锟酵匡拷图
1G锟斤拷锟斤拷1000锟阶o拷锟脚伙拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟捷o拷

---------------------------------
Do You Yahoo!?
150锟斤拷锟斤拷MP3锟斤拷锟斤拷眩锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷值锟斤拷锟�
锟斤拷女锟斤拷锟斤拷应锟叫撅拷锟叫o拷锟窖憋拷锟斤拷图锟斤拷锟斤拷图锟酵匡拷图
1G锟斤拷锟斤拷1000锟阶o拷锟脚伙拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟捷o拷