mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-17 11:57:00 +08:00
Plug memory leak
Introduced by b08dee24a557. Noted by Coverity.
This commit is contained in:
@ -4296,6 +4296,7 @@ append_depends_on_extension(Archive *fout,
|
||||
}
|
||||
|
||||
PQclear(res);
|
||||
destroyPQExpBuffer(query);
|
||||
pg_free(nm);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user