[liblouis-liblouisxml] [liblouis/liblouis] 2c935d: Copy the result of resolveTable

  • From: Bert Frees <bertfrees@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 22 May 2015 05:07:35 -0700

Branch: refs/heads/master
Home: https://github.com/liblouis/liblouis
Commit: 2c935d67518978badab3a79f915b37e71238c07c

https://github.com/liblouis/liblouis/commit/2c935d67518978badab3a79f915b37e71238c07c
Author: Bert Frees <bertfrees@xxxxxxxxx>
Date: 2015-05-22 (Fri, 22 May 2015)

Changed paths:
M liblouis/compileTranslationTable.c

Log Message:
-----------
Copy the result of resolveTable

because it may be garbage collected if it's a Java string (tableResolver
may be a Java function)

and also because we free it which is illegal if it's a Java string (bug
introduced by commits 63dd676119 to a53250d5c8).


Other related posts:

  • » [liblouis-liblouisxml] [liblouis/liblouis] 2c935d: Copy the result of resolveTable - Bert Frees