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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: kaegoorn48(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17184: When using openssl, the memory of a static variable is not freed in libpq
Date: 2021-09-08 13:35:31
Message-ID: 3261758.1631108131@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Murphy, Kimberly R CTR TRANSCOM TCJ6 (USA) 2021-09-08 13:46:10 Technical Support
Previous Message PG Bug reporting form 2021-09-08 13:11:49 BUG #17185: PostgreSQL performance GNU vs LLVM