Plug memory leak

Introduced by b08dee24a557.  Noted by Coverity.
This commit is contained in:
Alvaro Herrera 2020-03-16 16:27:13 -03:00
parent 013c1f6af6
commit 046001fe3c
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE

View File

@ -4335,6 +4335,7 @@ append_depends_on_extension(Archive *fout,
} }
PQclear(res); PQclear(res);
destroyPQExpBuffer(query);
pg_free(nm); pg_free(nm);
} }
} }