summaryrefslogtreecommitdiff
path: root/src/drivers/ipmi
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/ipmi')
-rw-r--r--src/drivers/ipmi/ipmi_fru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ipmi/ipmi_fru.c b/src/drivers/ipmi/ipmi_fru.c
index 8be53f8e0a..43ee6b3a35 100644
--- a/src/drivers/ipmi/ipmi_fru.c
+++ b/src/drivers/ipmi/ipmi_fru.c
@@ -319,7 +319,7 @@ static void read_fru_product_info_area(const int port, const uint8_t id,
goto out;
}
if (!data2str((const uint8_t *)data_ptr, info->asset_tag, length))
- free(info->serial_number);
+ free(info->asset_tag);
}
out: