1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Plug memory leak

Introduced by b08dee24a5.  Noted by Coverity.
This commit is contained in:
Alvaro Herrera
2020-03-16 16:27:13 -03:00
parent 390984f926
commit cf72898c68

View File

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