Commit 74a68e37 authored by Heikki Linnakangas's avatar Heikki Linnakangas

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
parent 9029f4b3
......@@ -231,6 +231,7 @@ receiveFileChunks(const char *sql)
break;
case PGRES_TUPLES_OK:
PQclear(res);
continue; /* final zero-row result */
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment