Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode - Mailing list pgsql-hackers

From Jonathan Gonzalez V.
Subject Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode
Date
Msg-id 8c47083ca3833a5a22ea8ced7ce54812eee59324.camel@gmail.com
Whole thread Raw
In response to Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode  (Zsolt Parragi <zsolt.parragi@percona.com>)
List pgsql-hackers
Hello!!

On Tue, 2026-03-17 at 06:41 +0000, Zsolt Parragi wrote:
> Hello
>
> These variables are still not freed, I am missing something why it
> isn't required?
>
> + char       *oauth_ca_file; /* CA file path  */
>
> Shouldn't we free this in freePGconn?
>
>
> + char    *ca_file; /* oauth_ca_file */
>
> Similarly with free_async_ctx?

I totally miss this comments, and I had it noted

Attaching v5

--
Jonathan Gonzalez V.
EDB: https://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Avoiding memory leakage in jsonpath evaluation
Next
From: Tom Lane
Date:
Subject: Re: Need help debugging SIGBUS crashes