Re: possible memory leak in Server Status window
От | Dave Page |
---|---|
Тема | Re: possible memory leak in Server Status window |
Дата | |
Msg-id | AANLkTimK2GQXn=9j1bg0_+gHgFzejBrLjv0eUeQ8rkr_@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: possible memory leak in Server Status window (Peter Geoghegan <peter.geoghegan86@gmail.com>) |
Ответы |
Re: possible memory leak in Server Status window
|
Список | pgadmin-support |
On Saturday, February 12, 2011, Peter Geoghegan <peter.geoghegan86@gmail.com> wrote: > On 12 February 2011 14:22, Dave Page <dpage@pgadmin.org> wrote: >> Note the lack of a delete - that's the point here; it's not needed >> because as soon as the smart pointer goes out of scope, it's >> destructor will delete foo. That means you don't have to remember to >> include the delete in each of the many exit points of the code. >> >> See also http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization > > "Resource Acquisition is Initialization" is a terrible name. Couldn't agree more. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgadmin-support по дате отправления: