Tools: Replay: fix use-after-free in Replay error path

This commit is contained in:
Peter Barker 2024-09-18 17:57:00 +10:00 committed by Peter Barker
parent 35a8a04787
commit 69f2d0d0c6
1 changed files with 0 additions and 1 deletions

View File

@ -83,7 +83,6 @@ void MsgHandler::parse_format_fields()
while ((next_label = strtok(arg, ",")) != NULL) {
if (label_offset > strlen(format)) {
free(labels);
printf("too few field times for labels %s (format=%s) (labels=%s)\n",
f.name, format, labels);
exit(1);