BUG #17422: Memory leak

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: vitstn(at)gmail(dot)com
Subject: BUG #17422: Memory leak
Date: 2022-03-01 17:06:02
Message-ID: 17422-6a5f554d27f8ff39@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17422
Logged by: Vitaly Stoyan
Email address: vitstn(at)gmail(dot)com
PostgreSQL version: 13.6
Operating system: any
Description:

https://github.com/postgres/postgres/blob/REL_13_STABLE/src/backend/utils/adt/json.c#L83

It seems memory allocated by palloc for lex variable isn't freed

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2022-03-01 20:21:12 Re: BUG #17422: Memory leak
Previous Message Tom Lane 2022-02-27 16:30:58 Re: BUG #17421: Core dump in ECPGdo() when calling PostgreSQL API from 32-bit client for RHEL8