pgsql: Fix memory leak when initializing DH parameters in backend

2021-03-20 Thread Tom Lane
Fix memory leak when initializing DH parameters in backend When loading DH parameters used for the generation of ephemeral DH keys in the backend, the code has never bothered releasing the memory used for the DH information loaded from a file or from libpq's default. This commit makes sure that t

pgsql: Fix memory leak when initializing DH parameters in backend

2021-03-20 Thread Tom Lane
Fix memory leak when initializing DH parameters in backend When loading DH parameters used for the generation of ephemeral DH keys in the backend, the code has never bothered releasing the memory used for the DH information loaded from a file or from libpq's default. This commit makes sure that t

pgsql: Fix memory leak when initializing DH parameters in backend

2021-03-20 Thread Tom Lane
Fix memory leak when initializing DH parameters in backend When loading DH parameters used for the generation of ephemeral DH keys in the backend, the code has never bothered releasing the memory used for the DH information loaded from a file or from libpq's default. This commit makes sure that t

pgsql: Fix memory leak when initializing DH parameters in backend

2019-12-14 Thread Michael Paquier
Fix memory leak when initializing DH parameters in backend When loading DH parameters used for the generation of ephemeral DH keys in the backend, the code has never bothered releasing the memory used for the DH information loaded from a file or from libpq's default. This commit makes sure that t