BUG #18770: The function 'packGraph ' causes a memory leak.

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: 2365868844(at)qq(dot)com
Subject: BUG #18770: The function 'packGraph ' causes a memory leak.
Date: 2025-01-10 01:49:08
Message-ID: 18770-895a62c1890d7491@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: 18770
Logged by: fengyao
Email address: 2365868844(at)qq(dot)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!

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message dqetool 2025-01-10 02:41:05 Re: BUG #18764: server closed the connection unexpectedly
Previous Message David Rowley 2025-01-10 01:35:52 Re: BUG #18764: server closed the connection unexpectedly