Re: squid-3.HEAD IPAddress leak

From: Robert Collins <robertc@dont-contact.us>
Date: Thu, 07 Feb 2008 14:00:28 +1100

On Thu, 2008-02-07 at 11:56 +0900, Adrian Chadd wrote:

> Argh, this temporary malloc/free pair is peppered throughout the codebase!
> Grr.
>
> I've removed that hack, and things work fine for me. Ubuntu 7.01 here, x86_64.

There's a useful c++ thing called 'placement new' - its used when you
have classes that you want to use on the stack, but still have tight
abstraction boundaries.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Received on Wed Feb 06 2008 - 20:00:36 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:09 MST