Remove redundant null pointer checks before PQclear and PQconninfoFree

Peter Eisentraut <peter@eisentraut.org>

Commit: 5faef9d582012433db9ad05af27a77bd591508e1
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-07-03T18:11:05Z
Releases: 16.0
Remove redundant null pointer checks before PQclear and PQconninfoFree

These functions already had the free()-like behavior of handling null
pointers as a no-op.  But it wasn't documented, so add it explicitly
to the documentation, too.

Discussion: https://www.postgresql.org/message-id/flat/dac5d2d0-98f5-94d9-8e69-46da2413593d%40enterprisedb.com

Files

Documentation touched

Discussion