From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: 2365868844@qq.com
Subject: BUG #18770: The function 'packGraph ' causes a memory leak.
Date: Fri, 10 Jan 2025 01:49:08 +0000
Message-ID: <18770-895a62c1890d7491@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 18770
Logged by: fengyao
Email address: 2365868844@qq.com
PostgreSQL version: 17.2
Operating system: linux
Description:
Hello,
In line 1965 of the trgm_regexp.c file
1965: arcs = (TrgmPackArcInfo *)
1966: palloc(sizeof(TrgmPackArcInfo) * trgmNFA->arcsCount);
The memory requested 'arcs' was not freed.
Have a good day!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, 2365868844@qq.com
Subject: Re: BUG #18770: The function 'packGraph ' causes a memory leak.
In-Reply-To: <18770-895a62c1890d7491@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox