possible memory leaks in KHTML? (msvc 2003)

Maksim Orlovich mo85 at cornell.edu
Thu Jun 21 11:10:46 BST 2007


> Hello,
> There are msvc.net (2003) warnings like this:
>
> trunk\KDE\kdelibs\khtml\html\html_formimpl.cpp(1231) : warning C4291:
> 'void
> *khtml::RenderObject::operator new(size_t,khtml::RenderArena *) throw()' :
> no
> matching operator delete found; memory will not be freed if initialization
> throws an exception
> trunk\KDE\kdelibs\khtml\rendering\render_object.h(235) : see declaration
> of
> 'khtml::RenderObject::operator new'
>
> Ignore or somewhat deal with this?

If KHTML renderer objects somehow throw exceptions during construction
(which they are not intended to) we will have bigger problems than a leak,

So don't worry about this.






More information about the kde-core-devel mailing list