Branch: refs/heads/cegli_memory_leak Home: https://github.com/liblouis/liblouis Commit: f726afa492623967ebb4bb3a3212ecb2795ef7ff https://github.com/liblouis/liblouis/commit/f726afa492623967ebb4bb3a3212ecb2795ef7ff Author: Christian Egli <christian.egli@xxxxxx> Date: 2014-05-20 (Tue, 20 May 2014) Changed paths: M liblouis/compileTranslationTable.c Log Message: ----------- Fix a memory leak When copying a string you need to hold on to the original reference so you can free it after. Commit: 63dd6761195b9b3ea28fbe067f7a2b7e9e17162d https://github.com/liblouis/liblouis/commit/63dd6761195b9b3ea28fbe067f7a2b7e9e17162d Author: Christian Egli <christian.egli@xxxxxx> Date: 2014-05-20 (Tue, 20 May 2014) Changed paths: M liblouis/compileTranslationTable.c Log Message: ----------- Also free the tableFiles array While this frees parts of the memory we neglect to free the strings inside the array. This still needs to be done. Compare: https://github.com/liblouis/liblouis/compare/23079f315614...63dd6761195b