ref: a79465e118a0469bbda928f86b9eef6b42d18593
parent: 14ac74fce1017b5c23ff4aed6f0289ab82bf71a2
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Oct 22 14:03:23 EDT 2023
ndb/dns: fix RR.caa leak
--- a/sys/src/cmd/ndb/dn.c
+++ b/sys/src/cmd/ndb/dn.c
@@ -1996,6 +1996,7 @@
case Tcaa:
free(rp->caa->data);
memset(rp->caa, 0, sizeof *rp->caa); /* cause trouble */
+ free(rp->caa);
break;
case Ttxt:
while(t = rp->txt){