Re: [HACKERS] trivial one-off memory leak in guc-file.l ParseConfigFile

2013-11-15 Thread Heikki Linnakangas
On 22.09.2013 22:40, didier wrote: Hi fix a small memory leak in guc-file.l ParseConfigFile AbsoluteConfigLocation() return a strdup string but it's never free or referenced outside ParseConfigFile Courtesy Valgrind and Noah Misch MEMPOOL work. I spotted and fixed this some time ago while fi

Re: [HACKERS] trivial one-off memory leak in guc-file.l ParseConfigFile

2013-09-24 Thread Robert Haas
On Sun, Sep 22, 2013 at 3:40 PM, didier wrote: > fix a small memory leak in guc-file.l ParseConfigFile > > AbsoluteConfigLocation() return a strdup string but it's never free or > referenced outside ParseConfigFile > > Courtesy Valgrind and Noah Misch MEMPOOL work. I'd like to look at this, but I