[tex-live] memory leak with kpathsea_find_file() ?
vincent.torri at gmail.com
Tue Jun 28 08:05:59 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,
> I cannot reproduce the error.
> However if I use the LoadLibrary() method, I can reproduce
another problem: as I use LoadLibrary and as texlive provides only a
32bits DLL, i have an error if my library is compiled in 64bits mode:
error 193 (ERROR_BAD_EXE_FORMAT): "%1 is not a valid Win32
> the error. I don't understand why. Presumably my DLL lacks
> something necessary, though it has been useful if used with
> the import library.
More information about the tex-live