From 9c5664577ef8f250f4ea5b0b3435de57994ac76e Mon Sep 17 00:00:00 2001 From: Qin Wang Date: Thu, 4 May 2023 11:26:24 -0700 Subject: [PATCH] Fix fast_pair_handshake_lookup_test PiperOrigin-RevId: 529465499 --- fastpair/handshake/fast_pair_handshake_lookup_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fastpair/handshake/fast_pair_handshake_lookup_test.cc b/fastpair/handshake/fast_pair_handshake_lookup_test.cc index f95ab526..e2ea8289 100644 --- a/fastpair/handshake/fast_pair_handshake_lookup_test.cc +++ b/fastpair/handshake/fast_pair_handshake_lookup_test.cc @@ -39,6 +39,8 @@ class FastPairHandshakeLookupTest : public ::testing::Test { device_->set_public_address(kPubliceAddress); } + ~FastPairHandshakeLookupTest() override { delete device_; } + void CreateFastPairHandshkeInstanceForDevice(FastPairDevice& device) { CountDownLatch latch(1); Mediums mediums;