[tlbuild] memleak fix for synctex lib

Norbert Preining preining at logic.at
Mon Aug 4 01:06:06 CEST 2014


Hi Peter, hi all,

Sebastian (in Cc), who send the original patch for making synctex
a separate lib, has found a memory leak in the synctex code,
and also a patchIn hi sown words:
> There seems to be a memory leak in the implementation of _synctex_open.
> build_output points to a memory location acquired with malloc, but 
> build_output is never passed to free. The attached patch adds the 
> necessary calls to clean up the allocated memory.

I attach the patch.

All the best

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memleak-in-synctex_parser.patch
Type: text/x-diff
Size: 1156 bytes
Desc: not available
URL: <http://tug.org/pipermail/tlbuild/attachments/20140804/c5551046/attachment.bin>


More information about the tlbuild mailing list