Free leaked result set in pg_rewind

It was not significant in practice, it was just one instance of a small
result set, but let's pacify Coverity.

Michael Paquier
pull/14/head
Heikki Linnakangas 11 years ago
parent 9029f4b374
commit 74a68e37d0
  1. 1
      src/bin/pg_rewind/libpq_fetch.c

@ -231,6 +231,7 @@ receiveFileChunks(const char *sql)
break;
case PGRES_TUPLES_OK:
PQclear(res);
continue; /* final zero-row result */
default:

Loading…
Cancel
Save