Open FGasper opened 1 year ago
https://github.com/NLnetLabs/ldns/pull/186 adds memory-leak detection to the CI run, and it indicates a memory leak in this function.
What appears to be happening is that this duplicated record in 25-ZONEMD:
duplicate.example. 300 IN TXT "I must be digested just once"
… is represented by 2 rr structs, only 1 of which gets assigned to the dnssec_zone. The other is never freed.
rr
dnssec_zone
Will this be fixed soon?
@Zero3K I think any fix would have to be pretty invasive. I could be wrong though.
I can have a look at this
https://github.com/NLnetLabs/ldns/pull/186 adds memory-leak detection to the CI run, and it indicates a memory leak in this function.
What appears to be happening is that this duplicated record in 25-ZONEMD:
… is represented by 2
rr
structs, only 1 of which gets assigned to thednssec_zone
. The other is never freed.