tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Memory leak: tcc_add_file_internal()


From: grischka
Subject: Re: [Tinycc-devel] Memory leak: tcc_add_file_internal()
Date: Fri, 22 Jan 2010 00:39:55 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Joey Degges wrote:
Hello,

When the output type is set to TCC_OUTPUT_MEMORY the handle returned by
dlopen() is lost. Subsequent calls to tcc_delete() are not able to close this
handle with dlclose().

This occurrs in both the latest git code (libtcc.c:1118) and in the 0.9.25
release (libtcc.c:1983).

Is this desired behavior?

Can you show that memory waste actually happens in practice?  Say if
you'd load the same .so 1000 times?

--- grischka


Thanks,
Joey





reply via email to

[Prev in Thread] Current Thread [Next in Thread]