summaryrefslogtreecommitdiff
path: root/trafgen_parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_parser.y')
-rw-r--r--trafgen_parser.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/trafgen_parser.y b/trafgen_parser.y
index 38f170a..a42dc30 100644
--- a/trafgen_parser.y
+++ b/trafgen_parser.y
@@ -1360,6 +1360,7 @@ dns_rrecord_data_fqdn
str[strlen($1 + 1) - 1] = '\0';
fqdn = str2fqdn(str);
proto_hdr_field_set_bytes(hdr, DNS_RRECORD_DATA, (uint8_t *) fqdn, strlen(fqdn) + 1);
+ xfree(str);
xfree(fqdn); }
;