Re: libpq: Remove redundant null pointer checks before free()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq: Remove redundant null pointer checks before free()
Date: 2022-06-17 03:25:07
Message-ID: Yqv0E7iIUfv4cpp2@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 16, 2022 at 10:07:33PM +0200, Peter Eisentraut wrote:
> calls, where the "if" part is unnecessary. This is of course pretty
> harmless, but some functions like scram_free() and freePGconn() have become
> so bulky that it becomes annoying. So while I was doing some work in that
> area I undertook to simplify this.

Seems fine. Would some of the buildfarm dinosaurs hiccup on that?
gaur is one that comes into mind.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2022-06-17 03:33:13 Re: PG 15 (and to a smaller degree 14) regression due to ExprEvalStep size
Previous Message shiy.fnst@fujitsu.com 2022-06-17 03:05:33 RE: Replica Identity check of partition table on subscriber