mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fixing another memory leak.
This is the ConnVal leak that Gilbert also saw.
This commit is contained in:
parent
d3e764155e
commit
eb0580c622
5 changed files with 13 additions and 6 deletions
|
@ -364,7 +364,7 @@ char* uitoa_n(uint64 value, char* str, int n, int base, const char* prefix)
|
|||
i += strlen(prefix);
|
||||
}
|
||||
|
||||
if ( i >= n )
|
||||
if ( i >= n - 1 )
|
||||
return str;
|
||||
|
||||
v = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue