Re: facing problem in accessing postgresql with c language normally

Tom Lane <[email protected]> Thu, 12 May 2011 18:52:54 -0400
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
hatem gamal elzanaty <[email protected]> writes:
> i'm new to postgresql programming in c language the following code give the following error beneath and no reason for 
> that error :
> *** glibc detected *** ../../object/006/psql_test.bin: double free or 
> corruption (top): 0x085dfea8 ***

You're PQclear'ing the same result twice in some code paths.

			regards, tom lane

-- 
Sent via pgsql-interfaces mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces