Commit 914605c4 authored by eissajamil@gmail.com's avatar eissajamil@gmail.com

Removal of null check

Removed the redundant check for NULL which is already handled by using
delete
parent a1c5e45d
...@@ -241,9 +241,7 @@ void GzipOutputStream::Init(ZeroCopyOutputStream* sub_stream, ...@@ -241,9 +241,7 @@ void GzipOutputStream::Init(ZeroCopyOutputStream* sub_stream,
GzipOutputStream::~GzipOutputStream() { GzipOutputStream::~GzipOutputStream() {
Close(); Close();
if (input_buffer_ != NULL) {
operator delete(input_buffer_); operator delete(input_buffer_);
}
} }
// private // private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment