pgsql: Plug memory leak

2022-07-13 Thread Alvaro Herrera
Plug memory leak Commit 054325c5eeb3 created a memory leak in PQsendQueryInternal in case an error occurs while sending the message. Repair. Backpatch to 14, like that commit. Reported by Coverity. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e1df03b80d51e093f

pgsql: Plug memory leak

2022-07-13 Thread Alvaro Herrera
Plug memory leak Commit 054325c5eeb3 created a memory leak in PQsendQueryInternal in case an error occurs while sending the message. Repair. Backpatch to 14, like that commit. Reported by Coverity. Branch -- REL_14_STABLE Details --- https://git.postgresql.org/pg/commitdiff/9e038d6907

pgsql: Plug memory leak

2022-07-13 Thread Alvaro Herrera
Plug memory leak Commit 054325c5eeb3 created a memory leak in PQsendQueryInternal in case an error occurs while sending the message. Repair. Backpatch to 14, like that commit. Reported by Coverity. Branch -- REL_15_STABLE Details --- https://git.postgresql.org/pg/commitdiff/e690930704

pgsql: Plug memory leak in index_get_partition

2020-11-06 Thread Alvaro Herrera
Plug memory leak in index_get_partition The list of indexes was being leaked when asked for an index that doesn't have an index partition in the table partition. Not a common case admittedly --and in most cases where it occurs, caller throws an error anyway-- but worth fixing for cleanliness and

pgsql: Plug memory leak in index_get_partition

2020-11-06 Thread Alvaro Herrera
Plug memory leak in index_get_partition The list of indexes was being leaked when asked for an index that doesn't have an index partition in the table partition. Not a common case admittedly --and in most cases where it occurs, caller throws an error anyway-- but worth fixing for cleanliness and

pgsql: Plug memory leak in index_get_partition

2020-11-06 Thread Alvaro Herrera
Plug memory leak in index_get_partition The list of indexes was being leaked when asked for an index that doesn't have an index partition in the table partition. Not a common case admittedly --and in most cases where it occurs, caller throws an error anyway-- but worth fixing for cleanliness and

pgsql: Plug memory leak

2020-03-16 Thread Alvaro Herrera
Plug memory leak Introduced by b08dee24a557. Noted by Coverity. Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/cf72898c686ce81fd870769f1a51818b49688bec Modified Files -- src/bin/pg_dump/pg_dump.c | 1 + 1 file changed, 1 insertion(+)

pgsql: Plug memory leak

2020-03-16 Thread Alvaro Herrera
Plug memory leak Introduced by b08dee24a557. Noted by Coverity. Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/c6b75b3f14fd4ff973ad3d2e2cfe42b5639bd101 Modified Files -- src/bin/pg_dump/pg_dump.c | 1 + 1 file changed, 1 insertion(+)

pgsql: Plug memory leak

2020-03-16 Thread Alvaro Herrera
Plug memory leak Introduced by b08dee24a557. Noted by Coverity. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/046001fe3cf59e19b2e8c24b82fb2e9b8ab6edd4 Modified Files -- src/bin/pg_dump/pg_dump.c | 1 + 1 file changed, 1 insertion(+)

pgsql: Plug memory leak

2020-03-16 Thread Alvaro Herrera
Plug memory leak Introduced by b08dee24a557. Noted by Coverity. Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/55978e28cd50e7db02289e1dca93a9284c7c2b05 Modified Files -- src/bin/pg_dump/pg_dump.c | 1 + 1 file changed, 1 insertion(+)

pgsql: Plug memory leak

2020-03-16 Thread Alvaro Herrera
Plug memory leak Introduced by b08dee24a557. Noted by Coverity. Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/7984c7e9fcd9468007c3ac51ba65f9642ba4dc4b Modified Files -- src/bin/pg_dump/pg_dump.c | 1 + 1 file changed, 1 insertion(+)