Skip to content

Commit d455c06

Browse files
authored
Merge pull request ceph#56845 from Svelar/asan_rgw_crypto
test/test_rgw_crypto: free allocated test_in Reviewed-by: Casey Bodley <[email protected]>
2 parents 571a3fc + 5383511 commit d455c06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/rgw/test_rgw_crypto.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,7 @@ TEST(TestRGWCrypto, verify_Encrypt_Decrypt)
806806
decrypt.flush();
807807
ASSERT_EQ(get_sink.get_sink().length(), test_size);
808808
ASSERT_EQ(get_sink.get_sink(), std::string_view((char*)test_in,test_size));
809+
delete[] test_in;
809810
}
810811
while (test_size < 20000);
811812
}

0 commit comments

Comments
 (0)