summaryrefslogtreecommitdiffstats
path: root/pb_encode.h
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-12-26 23:14:39 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-12-26 23:27:35 +0200
commit88b2efe0477f4f9e313b5d7307dfd347b6893376 (patch)
treeb650e4df6f5cf652fa829ea442d70a68ef5815f7 /pb_encode.h
parent500883048860cc98745d69ae1d16d85523cd5291 (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 'pb_encode.h')
0 files changed, 0 insertions, 0 deletions