The following bug has been logged on the website:
Bug reference: 16321
Logged by: Hugh Wang
Email address: hghwng@gmail.com
PostgreSQL version: 12.2
Operating system: Linux
Description:
The argument parsing duplicates strings, but never frees them.
For example, when you pass "-D $DATA_DIR" to postmaster, postmaster
duplicates the string here:
https://github.com/postgres/postgres/blob/master/src/backend/postmaster/postmaster.c#L698
The duplicated string is passed to `SelectConfigFiles`, which does
everything except freeing the string.