Fix various potential memory leaks.

Though I expect most not to be exercised in practice.
This commit is contained in:
Jon Siwek 2013-09-12 15:23:52 -05:00
parent c3a4454892
commit 0b97343ff7
29 changed files with 142 additions and 32 deletions

View file

@ -126,6 +126,8 @@ struct Value {
char* data;
int length;
} string_val;
_val() { memset(this, 0, sizeof(_val)); }
} val;
/**