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
This commit is contained in:
parent
9029f4b374
commit
74a68e37d0
@ -231,6 +231,7 @@ receiveFileChunks(const char *sql)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case PGRES_TUPLES_OK:
|
case PGRES_TUPLES_OK:
|
||||||
|
PQclear(res);
|
||||||
continue; /* final zero-row result */
|
continue; /* final zero-row result */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user