Memory leak when accessing qstate members from a python module

Hello,

recently a colleague of mine has reposted me an email which can be found
in the archive here:
http://unbound.net/pipermail/unbound-users/2011-April/001802.html

The leak appears to originate in the conversion from ldns RR to a
string. The patch fixing this issue is in the attachment.

Best regards,
K.

(attachments)

type_str_leak_fix.diff (720 Bytes)

Hi Karel,