mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Fix various potential memory leaks.
Though I expect most not to be exercised in practice.
This commit is contained in:
parent
c3a4454892
commit
0b97343ff7
29 changed files with 142 additions and 32 deletions
|
@ -126,6 +126,8 @@ struct Value {
|
|||
char* data;
|
||||
int length;
|
||||
} string_val;
|
||||
|
||||
_val() { memset(this, 0, sizeof(_val)); }
|
||||
} val;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue