Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/partitions/dos.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/partitions/dos.c b/common/partitions/dos.c index b9f31c3..29f1375 100644 --- a/common/partitions/dos.c +++ b/common/partitions/dos.c @@ -107,6 +107,8 @@ static int dos_get_disk_signature(struct param_d *p, void *_priv) priv->signature = le32_to_cpup((__le32 *)(buf + 0x1b8)); + free(buf); + return 0; } -- 1.8.3.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox