mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
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:
@ -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:
|
||||||
|
Reference in New Issue
Block a user