|
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 bydlopen() is lost. Subsequent calls to tcc_delete() are not able to close thishandle 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
[Prev in Thread] | Current Thread | [Next in Thread] |