diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-09-07 13:01:09 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-09-07 13:01:09 +0000 |
commit | 718c6f23aebbe85e953f4ba15172df366e8c22fc (patch) | |
tree | ae1624b57c3b9fd8fb52058ef0acb0d54a1230a8 | |
parent | 7d035d77f92f61bc91b7eac70a4ff85096e5f235 (diff) | |
parent | 757772e9b2aa69612d31b5db6751cc7013c4de83 (diff) | |
download | kernel-aml_ips_331310000.tar.gz |
Snap for 9035719 from 757772e9b2aa69612d31b5db6751cc7013c4de83 to mainline-ipsec-releaseaml_ips_331910010aml_ips_331312000aml_ips_331310000aml_ips_331111030android13-mainline-ipsec-release
Change-Id: I3a7d622dd233e505fe1f117e12c4d28d2790e4ce
-rw-r--r-- | gki/generic_boot_image_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gki/generic_boot_image_test.cpp b/gki/generic_boot_image_test.cpp index a26771d3..c9a04fd8 100644 --- a/gki/generic_boot_image_test.cpp +++ b/gki/generic_boot_image_test.cpp @@ -49,6 +49,10 @@ static bool deviceSupportsFeature(const char *feature) { break; } } + if (line) { + free(line); + line = NULL; + } pclose(p); } return device_supports_feature; |