Re: BUG #16666: Slight memory leak when running pg_ctl reload - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16666: Slight memory leak when running pg_ctl reload
Date
Msg-id 3091770.1602513747@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #16666: Slight memory leak when running pg_ctl reload  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
Bruce Momjian <bruce@momjian.us> writes:
> Uh, you are saying pg_ctl leaks memory or the database server leaks
> memory?  I don't see any memory allocation in the code you posted.

I've not looked at the code yet, but I think the OP is worried that
we need to free(newval) before these "return"s.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #16666: Slight memory leak when running pg_ctl reload
Next
From: Tom Lane
Date:
Subject: Re: BUG #16667: COMMIT AND CHAIN does not udpates database metrics ie. xact_commit