Fixing another memory leak.

This is the ConnVal leak that Gilbert also saw.
This commit is contained in:
Robin Sommer 2011-07-07 19:46:40 -07:00
parent d3e764155e
commit eb0580c622
5 changed files with 13 additions and 6 deletions

View file

@ -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;