commit | e0fac2e4a655864c6c125e28918798502fe9651d | [log] [tgz] |
---|---|---|
author | Angel Pons <th3fanbus@gmail.com> | Tue Mar 31 15:02:02 2020 +0200 |
committer | Angel Pons <th3fanbus@gmail.com> | Tue Apr 14 23:14:27 2020 +0000 |
tree | dce32166392f0ccadaad552a209a651486f5659d | |
parent | f572b50ec7cb35224e17e3c702a96cbcbaefc417 [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> Reviewed-on: https://review.coreboot.org/c/flashrom/+/39972 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>