diff options
author | Edward O'Callaghan <quasisec@google.com> | 2023-01-15 12:43:42 +1100 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2023-01-22 05:32:22 +0000 |
commit | 20400d665675292f56f466e0bae7f925fd9ed6aa (patch) | |
tree | 76cf5aac887778ed871d3c3205869446f7477cfa /tests/tests.c | |
parent | 673cb357d411e6d95be7cbf31513b46615355e12 (diff) | |
download | flashrom-20400d665675292f56f466e0bae7f925fd9ed6aa.tar.gz flashrom-20400d665675292f56f466e0bae7f925fd9ed6aa.tar.bz2 flashrom-20400d665675292f56f466e0bae7f925fd9ed6aa.zip |
tests/chip{_wp}.c: Avoid unnecessary heap allocations
Just use a static string on the stack.
Change-Id: Ic6cb4f32094ae5868912ebcffc8ab21026c48d32
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/71917
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'tests/tests.c')
0 files changed, 0 insertions, 0 deletions