commit | a60f641a7f8b1a4cd602eecb8ddc247e40777400 | [log] [tgz] |
---|---|---|
author | Angel Pons <th3fanbus@gmail.com> | Tue Mar 31 15:02:02 2020 +0200 |
committer | Nico Huber <nico.h@gmx.de> | Fri Jan 13 01:34:15 2023 +0000 |
tree | 91cb81687cbd41227f4c40ab2c07a75f210169a0 | |
parent | 721396876e9bca4307e46fe01bb9c0936e01d234 [diff] |
cli_classic.c: Prevent memory leak If the `--flash-contents` switch is specified more than once, it will result in a memory leak. Therefore, allow this option only once. Change-Id: I530933c9a6431580fe4645396bb363939472a80a Signed-off-by: Angel Pons <th3fanbus@gmail.com> Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/39972 Original-Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/71733 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>