Skip to content

community/jimtcl: backport fix for memory leak

Sören Tempel requested to merge nmeum/aports:jimtcl-memory-leak into master

While debugging an issue with linking OpenOCD dynamically against libjim [1], I noticed that OpenOCD contains a workaround for a memory leak in jimtcl which is enabled by default [2]. This workaround causes an infinite loop when OpenOCD is linked dynamically against jimtcl. As such, I disabled it in OpenOCD for now [3]. However, I think also makes sense to backport the fix for the memory leak from upstream jimtcl.

Merge request reports

Loading