mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix wrong delete syntax in CommentedEnumType
This commit is contained in:
parent
b8f6c5bc7d
commit
35fdba23ea
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ void CommentedEnumType::AddComment(const string& module_name, const char* name,
|
||||||
{
|
{
|
||||||
comments[fullname.c_str()]->splice(comments[fullname.c_str()]->end(),
|
comments[fullname.c_str()]->splice(comments[fullname.c_str()]->end(),
|
||||||
*new_comments);
|
*new_comments);
|
||||||
delete [] new_comments;
|
delete new_comments;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue