postgresql/src/backend/utils/error
Peter Eisentraut 02c408e21a Remove redundant null pointer checks before free()
Per applicable standards, free() with a null pointer is a no-op.
Systems that don't observe that are ancient and no longer relevant.
Some PostgreSQL code already required this behavior, so this change
does not introduce any new requirements, just makes the code more
consistent.

Discussion: https://www.postgresql.org/message-id/flat/dac5d2d0-98f5-94d9-8e69-46da2413593d%40enterprisedb.com
2022-07-03 11:47:15 +02:00
..
assert.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
csvlog.c Fix various typos and spelling mistakes in code comments 2022-04-11 20:49:41 +12:00
elog.c Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
jsonlog.c Fix incorrect format placeholders 2022-04-13 14:04:51 +02:00
Makefile Introduce log_destination=jsonlog 2022-01-17 10:16:53 +09:00