mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-07 13:45:07 -05:00
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>
This commit is contained in:
parent
ee57999386
commit
7a1d72a788
1 changed files with 1 additions and 0 deletions
1
checks.c
1
checks.c
|
|
@ -114,6 +114,7 @@ static inline void PRINTF(5, 6) check_msg(struct check *c, struct dt_info *dti,
|
||||||
}
|
}
|
||||||
|
|
||||||
fputs(str, stderr);
|
fputs(str, stderr);
|
||||||
|
free(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FAIL(c, dti, node, ...) \
|
#define FAIL(c, dti, node, ...) \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue