checks.c: fix check_msg() leak

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
Marc-André Lureau 2023-02-28 12:30:30 +04:00 committed by David Gibson
parent ee57999386
commit 7a1d72a788
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ static inline void PRINTF(5, 6) check_msg(struct check *c, struct dt_info *dti,
}

fputs(str, stderr);
free(str);
}

#define FAIL(c, dti, node, ...) \