malmond / rpms / unbound

Forked from rpms/unbound 3 years ago
Clone

Blame SOURCES/unbound-1.7.3-host-any.patch

8ba890
diff --git a/smallapp/unbound-host.c b/smallapp/unbound-host.c
8ba890
index 53bf3277..f02511fe 100644
8ba890
--- a/smallapp/unbound-host.c
8ba890
+++ b/smallapp/unbound-host.c
8ba890
@@ -340,6 +340,7 @@ pretty_output(char* q, int t, int c, struct ub_result* result, int docname)
8ba890
 					exit(1);
8ba890
 				}
8ba890
 				printf("%s\n", s);
8ba890
+				free(s);
8ba890
 			} else	printf(" has no %s record", tstr);
8ba890
 			printf(" %s\n", secstatus);
8ba890
 		}