mapleFU commented on code in PR #43222:
URL: https://github.com/apache/arrow/pull/43222#discussion_r1679670547


##########
cpp/src/parquet/metadata.cc:
##########
@@ -662,7 +665,7 @@ class FileMetaData::FileMetaDataImpl {
         encrypted_buffer->mutable_data());
     // Delete AES encryptor object. It was created only to verify the footer 
signature.
     aes_encryptor->WipeOut();
-    delete aes_encryptor;
+    aes_encryptor = nullptr;

Review Comment:
   This is to keep same behavior as before, but actually it's not need



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to