Skip to content
Snippets Groups Projects
Commit 0cd82e25 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

mkimage: Fix missing free() in show_valid_options()


The allocated memory should be freed. Fix it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 150963)
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 0a6036da
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ static int show_valid_options(enum ih_category category)
genimg_get_cat_name(category, item));
}
fprintf(stderr, "\n");
free(order);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment