pgsql: Fix check for memory allocation - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Fix check for memory allocation
Date
Msg-id E1sBeKl-001z8b-9T@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix check for memory allocation

Commit 61461a300c1 accidentally checked memory allocation success
using the wrong variable.

Author: Ranier Vilela <ranier.vf@gmail.com>
Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAEudQAqQFTH7xCB-+K6zEKjfqbhqCxcr_w4DuJTxVT6h3vzu2w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4013a5ada25241ead6a3265d6edf9aadb654dc00

Modified Files
--------------
src/interfaces/libpq/fe-cancel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Fix potential NULL pointer dereference in getIdentitySequence()
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 17 relnotes: adjust IN wording