BUG #18338: Memory leak in function 'dumpRule'

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: jora(dot)gevorgyan(at)rau(dot)am
Subject: BUG #18338: Memory leak in function 'dumpRule'
Date: 2024-02-12 13:36:13
Message-ID: 18338-ddb9deb8f1646d01@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: 18338
Logged by: Jora
Email address: jora(dot)gevorgyan(at)rau(dot)am
PostgreSQL version: 16.2
Operating system: Ubuntu 20.04
Description:

The memory leak is found by a static analyzer developed at [CAST](
https://www.linkedin.com/company/cast-center/).

The memory alocated at [in qtabname]() is getting lost when function
[pg_fatal is
called](https://github.com/postgres/postgres/blob/09eb633e1baa3b7cd7929f3cc77f9c46f63c20b1/src/bin/pg_dump/pg_dump.c#L18007)

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2024-02-12 14:04:28 Re: BUG #18338: Memory leak in function 'dumpRule'
Previous Message Reddy, Jaswanth 2024-02-12 10:50:17 Re: [E] Re: BUG #18337: Unable to write temp variables path