fix opaqueval-related memleak

This commit is contained in:
Bernhard Amann 2013-05-03 23:08:26 -07:00
parent 6acbbe0231
commit cf6e768ad6
3 changed files with 6 additions and 2 deletions

View file

@ -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()