[tex-live] memory leak with kpathsea_find_file() ?

Vincent Torri vincent.torri at gmail.com
Tue Jun 28 07:30:58 CEST 2016


On Tue, Jun 28, 2016 at 6:46 AM, Akira Kakuto <kakuto at fuk.kindai.ac.jp> wrote:
>>     n = kpathsea_find_file(kpse, name, kpse_tfm_format, 1);
>>     ...
>>     trying to free 'n' with free() leads to errors
>
>
> On windows, if I link by using the import library,

where is the import library in the texlive 2016 tree ??

> I cannot reproduce the error.
> However if I use the LoadLibrary() method,

that's what i use as  i can't find the import library

> I can reproduce
> the error. I don't understand why. Presumably my DLL lacks
> something necessary, though it has been useful if used with
> the import library.

you can seee all the exported symbols in the DLL with dependency
walker in casee it helps you

Vincent Torri


More information about the tex-live mailing list