]> git.bitcoin.ninja Git - ldk-java/commit
Properly free C tuples when the inner fields are dropped
authorMatt Corallo <git@bluematt.me>
Tue, 2 Feb 2021 02:18:29 +0000 (21:18 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 2 Feb 2021 03:02:42 +0000 (22:02 -0500)
commitceda1e3041ff42b4aadc1245f6da26fd511b51ff
tree6cde8686d3dd1613c4487dcd260dde7a16cdbe0e
parentf08de1c11de2cca22d2caadc368d3ef1e000e39a
Properly free C tuples when the inner fields are dropped

Previously for the full test suite (incl 64 HumanObjectPeerTest runs):
 `991 allocations remained for 32165 bytes.`
After for the full test suite (incl 64 HumanObjectPeerTest runs):
 `179 allocations remained for 5369 bytes.`
gen_type_mapping.py
src/main/java/org/ldk/util/ThreeTuple.java
src/main/java/org/ldk/util/TwoTuple.java