Unverified Commit 0d2a1e42 authored by danh-arm's avatar danh-arm Committed by GitHub
Browse files

Merge pull request #1374 from jonathanwright-ARM/jw/fix-memory-leaks-in-fiptool

Fix memory leaks in fiptool
parents 0ef858bd 8d283231
......@@ -169,7 +169,10 @@ static void free_image_desc(image_desc_t *desc)
free(desc->name);
free(desc->cmdline_name);
free(desc->action_arg);
free(desc->image);
if (desc->image) {
free(desc->image->buffer);
free(desc->image);
}
free(desc);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment