diff --git a/ipmitool/lib/ipmi_main.c b/ipmitool/lib/ipmi_main.c index c88f457..718a7f1 100644 --- a/ipmitool/lib/ipmi_main.c +++ b/ipmitool/lib/ipmi_main.c @@ -960,6 +960,10 @@ ipmi_main(int argc, char ** argv, free(oemtype); if (seloem != NULL) free(seloem); + if (kgkey != NULL) + free(kgkey); + if (sdrcache != NULL) + free(sdrcache); return rc; }