[sword-devel] Memory leak caused by InstallMgr::refreshRemoteSourceConfiguration()
Jaak Ristioja
jaak at ristioja.ee
Fri Mar 26 13:45:14 EDT 2021
Hello!
Valgrind detects a memory leak in Sword 1.9.0 which can be reproduced by
running `installmgr -sc` when no "${HOME}/.sword" exists.
The bug seems to be caused by the refreshRemoteSourceConfiguration()
method of InstallMgr which overwrites sources[is->caption] without
freeing the previous value.
Best regards,
J
More information about the sword-devel
mailing list