On 06/29/2010 04:39 AM, Darin Adler wrote:
> Hi folks.
> 
> I’d like to use our smart pointers more consistently to decrease the chances 
> of memory leaks or other similar problems.
> 
> My proposal is that we have a rule that all calls to "new" are immediately 
> followed by putting the object into a smart pointer.

I like that, it would have found/avoided a memleak for SimpleFontData we
had in Gtk+ and spread to more platforms..
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to