BUG #17422: Memory leak - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17422: Memory leak
Date
Msg-id 17422-6a5f554d27f8ff39@postgresql.org
Whole thread Raw
Responses Re: BUG #17422: Memory leak  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17422
Logged by:          Vitaly Stoyan
Email address:      vitstn@gmail.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


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17421: Core dump in ECPGdo() when calling PostgreSQL API from 32-bit client for RHEL8
Next
From: Andres Freund
Date:
Subject: Re: BUG #17422: Memory leak