[vbox-dev] Bug report (major, ressource leak)

Tim Rice tim at multitalents.net
Sat May 1 17:50:14 GMT 2010


0On Sat, 1 May 2010, Frank Mehnert wrote:

> On Saturday 01 May 2010, TwoThe wrote:
[snip]
> > In line 395 iconv_open will acquire memory that is never freed.
> 
> Thank you for this report!
> 
> Your observation is correct and another leak is opts.convertcp which
> is allocated and never freed. However, this is only a minor leak because
> this file is part of mount.vboxsf --- a process which has a very short
> lifetime and all ressources are freed on process termination.

It may be a good idea to put a similar comment in the code so when
someone finds the same leaks later they don't waste time attempting to
fix or report.

> Kind regards,
> 
> Frank
> 

-- 
Tim Rice				Multitalents	(707) 887-1469
tim at multitalents.net






More information about the vbox-dev mailing list