Remove some useless free calls.
authorAmit Kapila <akapila@postgresql.org>
Fri, 25 Mar 2022 02:07:06 +0000 (07:37 +0530)
committerAmit Kapila <akapila@postgresql.org>
Fri, 25 Mar 2022 02:07:06 +0000 (07:37 +0530)
commit3e67a5cac6a50139bd29b96ab97496dbc1543d92
treece533acf5e6715822cb8f9fe1cd27751544144e0
parent0f79caa3c61e643e6285524f3148a35fb61ddcf3
Remove some useless free calls.

These were introduced in recent commit 52e4f0cd47. We were trying to free
some transient space consumption and that too was not entirely correct and
complete. We don't need this partial freeing of memory as it will be
allocated just once for a query and will be freed at the end of the query.

Author: Zhihong Yu
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CALNJ-vQORfQ=vicbKA_RmeGZGzm1y3WsEcZqXWi7qjN43Cz_vg@mail.gmail.com
src/backend/commands/publicationcmds.c