Removal of null check
Removed the redundant check for NULL which is already handled by using delete
This commit is contained in:
parent
a1c5e45db3
commit
914605c4dc
@ -241,9 +241,7 @@ void GzipOutputStream::Init(ZeroCopyOutputStream* sub_stream,
|
||||
|
||||
GzipOutputStream::~GzipOutputStream() {
|
||||
Close();
|
||||
if (input_buffer_ != NULL) {
|
||||
operator delete(input_buffer_);
|
||||
}
|
||||
operator delete(input_buffer_);
|
||||
}
|
||||
|
||||
// private
|
||||
|
Loading…
Reference in New Issue
Block a user