Code review from Wouter. Fix potential memory leak
Code review from Wouter.
Fix potential memory leak


NLnetLabs/ldns,benlaurie/ldns,NLnetLabs/ldns,threatstack/libldns,gegenschall/ldns,benlaurie/ldns,threatstack/libldns,threatstack/libldns,gegenschall/ldns,NLnetLabs/ldns,threatstack/libldns,gegenschall/ldns,NLnetLabs/ldns,benlaurie/ldns,benlaurie/ldns,threatstack/libldns,gegenschall/ldns