Do not attempt to PQclear a null PQresult*
Merge pull request #2175 from strk/2.2.x-segfault-on-execute

Do not attempt to PQclear a null PQresult*