mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
fix opaqueval-related memleak
This commit is contained in:
parent
6acbbe0231
commit
cf6e768ad6
3 changed files with 6 additions and 2 deletions
|
@ -243,6 +243,7 @@ OpaqueType* md5_type;
|
|||
OpaqueType* sha1_type;
|
||||
OpaqueType* sha256_type;
|
||||
OpaqueType* entropy_type;
|
||||
OpaqueType* topk_type;
|
||||
|
||||
#include "const.bif.netvar_def"
|
||||
#include "types.bif.netvar_def"
|
||||
|
@ -308,6 +309,7 @@ void init_general_global_var()
|
|||
sha1_type = new OpaqueType("sha1");
|
||||
sha256_type = new OpaqueType("sha256");
|
||||
entropy_type = new OpaqueType("entropy");
|
||||
topk_type = new OpaqueType("topk");
|
||||
}
|
||||
|
||||
void init_net_var()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue