summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/partitions/dos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/partitions/dos.c b/common/partitions/dos.c
index b9f31c378..29f13751a 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;
}