Re: BUG #17184: When using openssl, the memory of a static variable is not freed in libpq - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #17184: When using openssl, the memory of a static variable is not freed in libpq
Date
Msg-id 3261758.1631108131@sss.pgh.pa.us
Whole thread Raw
In response to BUG #17184: When using openssl, the memory of a static variable is not freed in libpq  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #17184: When using openssl, the memory of a static variable is not freed in libpq  (Alexander Dzuba <kaegoorn48@gmail.com>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Valgrind shows static variable memory is not freed when using openssl 
> libpq/fe-secure-openssl.c:1571
> static BIO_METHOD *my_bio_methods;

> Please add a method that will free memory after use

Why?  It's not leaked: the struct is still available for use
in future connection attempts.

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17185: PostgreSQL performance GNU vs LLVM
Next
From: "Murphy, Kimberly R CTR TRANSCOM TCJ6 (USA)"
Date:
Subject: Technical Support