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

Akira Kakuto kakuto at fuk.kindai.ac.jp
Tue Jun 28 06:46:49 CEST 2016


>     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,
I cannot reproduce the error.
However if I use the LoadLibrary() method, 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.

Best,
Akira



More information about the tex-live mailing list