diff options
author | Hsuan Ting Chen <roccochen@chromium.org> | 2020-09-17 15:51:34 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-09-19 01:36:57 +0000 |
commit | 8742e2a9238da49aeb4dd1afa9603fdc22697422 (patch) | |
tree | 646862654feec4aeeed7c366179661ee39d51806 /src/mainboard/google/cheza/chromeos.c | |
parent | cbd0bd8155107d109b6c4dd04b9233a04dadc892 (diff) |
libpayload: free: Separate NULL check out for clarity
Separate the validity check of calling free(NULL) for clarity.
BUG=b:168441735
TEST=emerge-puff libpayload
Change-Id: I0dc355553410bbe59e658945fb40c05f5f709380
Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45465
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/cheza/chromeos.c')
0 files changed, 0 insertions, 0 deletions