]> git.bitcoin.ninja Git - ldk-java/commit
Free constructed LDK strings when relevant.
authorMatt Corallo <git@bluematt.me>
Sun, 18 Jul 2021 02:24:24 +0000 (02:24 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 18 Jul 2021 03:17:52 +0000 (03:17 +0000)
commita7fb44f8312609821a58be1d45eb6e3e8f698336
treed21d82bb95760a7a6e0509a7499dd18fa15b505d
parent2945e9ce850435d0683bc113a258b5e65b4ce250
Free constructed LDK strings when relevant.

With LDK C Bindings v0.0.99.2, this reduces memory leaks during tests from:
  538 allocations remained for 1188720 bytes.
to
  358 allocations remained for 1141342 bytes.
gen_type_mapping.py