diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-12-26 23:14:39 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2014-12-26 23:27:35 +0200 |
commit | 88b2efe0477f4f9e313b5d7307dfd347b6893376 (patch) | |
tree | b650e4df6f5cf652fa829ea442d70a68ef5815f7 /tests | |
parent | 500883048860cc98745d69ae1d16d85523cd5291 (diff) |
Fix memory leaks with PB_ENABLE_MALLOC and certain submessage type combinations.
There was a memory leak when:
1) A statically allocated submessage or
2) an extension field submessage
contained
A) a pointer-type field or
B) a submessage that further contained a pointer-type field.
This was because pb_release() didn't recurse into non-pointer fields.
Update issue 138
Status: FixedInGit
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions