Bug 4139

Summary: unbound-host leaks memory on ANY
Product: unbound Reporter: Petr Menšík <pemensik>
Component: serverAssignee: unbound team <unbound-team>
Severity: minor CC: cathya, wouter
Priority: P5    
Version: 1.7.3   
Hardware: x86_64   
OS: Linux   
Attachments: Free after print patch

Description Petr Menšík 2018-07-31 13:51:18 CEST
Created attachment 518 [details]
Free after print patch

unbound-host will not free memory when in verbose mode and name does not exist.

Can be reproduced by:

valgrind --leak-check=full unbound-host -r -v localhost. -t ANY
Comment 1 Wouter Wijngaards 2018-07-31 13:59:02 CEST
Hi Petr,

Yes you are right, and that is the right solution.  Thank you for the report!  Fixed this in the code in the code repository.

Best regards, Wouter