Skip to content

Commit

Permalink
Merge pull request #2 from jsiwek/topic/fix-delete
Browse files Browse the repository at this point in the history
Replace a delete with delete[]
  • Loading branch information
Mraoul authored Sep 13, 2018
2 parents 16cb664 + 7819a1e commit a853b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HTTP2_Frame.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ HTTP2_Data_Frame::HTTP2_Data_Frame(HTTP2_FrameHeader* h, uint8_t* payload, uint3
HTTP2_Data_Frame::~HTTP2_Data_Frame(void)
{
if(this->dataMsg){
delete this->dataMsg;
delete[] this->dataMsg;
}
}

Expand Down

0 comments on commit a853b55

Please sign in to comment.