Skip to content
Snippets Groups Projects
Commit 117d73a9 authored by Alvaro Herrera's avatar Alvaro Herrera
Browse files

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.
parent 7a6676d9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment