mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix new []/delete mismatch in ~Base64Converter.
This commit is contained in:
parent
b15bbf4f33
commit
713fd2fbaf
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ Base64Converter::Base64Converter(analyzer::Analyzer* arg_analyzer, const string&
|
||||||
Base64Converter::~Base64Converter()
|
Base64Converter::~Base64Converter()
|
||||||
{
|
{
|
||||||
if ( base64_table != default_base64_table )
|
if ( base64_table != default_base64_table )
|
||||||
delete base64_table;
|
delete [] base64_table;
|
||||||
}
|
}
|
||||||
|
|
||||||
int Base64Converter::Decode(int len, const char* data, int* pblen, char** pbuf)
|
int Base64Converter::Decode(int len, const char* data, int* pblen, char** pbuf)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue