Don't call PQclear until the struct is really no longer going to be used.
Per Coverity bug #304. Thanks to Martijn van Oosterhout for reporting it.
Zero out the pointer fields of PGresult so that these mistakes are more
easily catched, per discussion.
fe-exec.c (r1.184 -> r1.185)
pg_dump.c (r1.434 -> r1.435)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2006-05-28 21:13:54|
|Subject: pgsql: Fix up pg_dump to do string escaping fully correctly for client |
|Previous:||From: User Nwakefield||Date: 2006-05-28 16:14:48|
|Subject: bizgres - bizgres: Enhancement: Added code to automatically create the |