Re: BUG #16160: Minor memory leak in case of starting postgres server with SSL encryption

Michael Paquier <[email protected]> Sat, 14 Dec 2019 18:24:56 +0900
Newsgroups gmane.comp.db.postgresql.bugs
Message-ID <[email protected]>
On Fri, Dec 13, 2019 at 03:39:15PM +0900, Michael Paquier wrote:
> Attached is a patch, I'll go commit that if there are no objections.
> The DH handling does not really change regarding the way it gets
> free'd or not down to 0.9.8.

And committed.  Dmitry has pointed out offline that we need to do the
same with the error code path, and he is right as OpenSSL does not
touch the passed-in DH information for 0.9.8~.
--
Michael
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl30qmgACgkQnvQgOdby
QH3R+A/+KdFlpEbxahxkbfGjPUW8LH35qxLbrnEQ5xioDwaj6yBN7H3NTqwZN5jf
xzaFg8pMKQOURW/9aJXunrg632MuJ1qbkRBdA98BmDOgfb+8QNzuFNbpcUMFkta+
izS4x81kL0Y/xIoyu1TXzfEmWEFg16vd+p/Mgjn1VbBzpa6n/TO6uAFdQM3KYmYK
AREpqgWkoHUS0q65kv0qhqWAuDuyYRo4FXn5LDm97/D9QlqNh0URSj5eKFxx5wBz
ltBXAp66erRYDjHWQVtFCO0JyTO8gAzN2jct1wEMWUH3u3vvXxOdwjgjRBC+af5X
8YmwzF2P6XTRiHdryx+mfHUYwuF3rI/tXyIZfsjCNaEjhEjnSBbOItkJ4RYs1wpC
+DcHiYabfvo7Jn7Fj4s2v6cf36O/rOawtmILoBmUzhw4miwRsyQ4iM5HMOnQQDnv
/u/g5YXDouEVr02/eE/IGs5XJoLookAFqZgOtISeMFjxblRzI/JrGcltooujGN8f
y3F8NnBRLEZCr+GaBuSff0VlIIzIC+bu0/Tq3tUSwVv5kUWKLZTvwH8cPAgR4HX+
LBxYthJHnRiAt3uNAbas3WIZWxtNfvY0ku6adtOPfMsfz6hYm7RyRAty98LPYnRh
Lwtrfq4WbVkU9tO59WxxnLxSE1tZD3gHUgZGkLKsP7ndAnznZDI=
=MSxR
-----END PGP SIGNATURE-----