From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | rekgrpth(at)gmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: BUG #16921: small memory leak |
Date: | 2021-03-11 11:34:44 |
Message-ID: | CAFj8pRA40V_119GVpSFuL5+hpWCY9vw2NiH_-=9quaSfUAD5Wg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi
čt 11. 3. 2021 v 12:04 odesílatel PG Bug reporting form <
noreply(at)postgresql(dot)org> napsal:
> The following bug has been logged on the website:
>
> Bug reference: 16921
> Logged by: Geo Sil
> Email address: rekgrpth(at)gmail(dot)com
> PostgreSQL version: 13.2
> Operating system: ubuntu
> Description:
>
> Is there a small memory leak here?
> file: postgres/src/pl/plpgsql/src/pl_handler.c
> function: plpgsql_extra_checks_check_hook
> code: myextra = (int *) malloc(sizeof(int));
> I don't find freeing memory.
> But I suggest do it in functions plpgsql_extra_warnings_assign_hook and
> plpgsql_extra_errors_assign_hook
>
if I understand to source code, then it is released in function
set_extra_field in file guc.c
Regards
Pavel
From | Date | Subject | |
---|---|---|---|
Next Message | Julien Rouhaud | 2021-03-11 12:00:26 | Re: Invalid idle_in_transaction_session_timeout data type |
Previous Message | Alex | 2021-03-11 10:48:21 | Invalid idle_in_transaction_session_timeout data type |