From: Warren Young Date: June 26 2006 6:23pm Subject: Re: Query leaking memory List-Archive: http://lists.mysql.com/plusplus/5780 Message-Id: <44A02605.6050602@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Steven Van Ingelgem wrote: > > Inside Query there is a memory leak. Agreed. > Please find the patch included that fixes this issue. Sorry, that's not the right fix. That passes responsibility for freeing the memory to code that doesn't do it, so your code still has a memory leak. I've applied the correct one. Thanks in any case for the hint.