Fix memory leak in postmasterMain - Mailing list pgsql-hackers

From Henrik TJ
Subject Fix memory leak in postmasterMain
Date
Msg-id e84ede22-1b46-0780-64e4-5db4a1e5236f@0x48.dk
Whole thread Raw
List pgsql-hackers
Hi

This is fairly inconsequential as memory leaks goes, but if -D is used 
when starting postgres, the memory allocated by stdrup() will never be 
freed. Found with valgrind.

Technically, this also happens with output_config_variable (-C), but since 
postmaster prints and exits with that, there isn't much point in fixing 
it.


   best regards, Henrik
Attachment

pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: generating function default settings from pg_proc.dat
Next
From: jian he
Date:
Subject: Re: alter check constraint enforceability