aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/avb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/avb.c b/cmd/avb.c
index 398ad3b..88172a9 100644
--- a/cmd/avb.c
+++ b/cmd/avb.c
@@ -316,6 +316,9 @@ int do_avb_verify_part(struct cmd_tbl *cmdtp, int flag,
printf("Unknown error occurred\n");
}
+ if (out_data)
+ avb_slot_verify_data_free(out_data);
+
return res;
}