summaryrefslogtreecommitdiffstats
path: root/tests/regression
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-06-02 21:12:38 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-06-02 21:12:38 +0300
commit99bc1d4f97710cc71612869d3d7e0f501a4626ff (patch)
treedf58f9ca664ed5713812f14a7b4fe52ca21f9324 /tests/regression
parent8a857a7f7519414c2294cc9f3286ebe5dba5a6f3 (diff)
Make clearer that size = 0 in allocate_field() is not allowed.
Back in design phase the code used realloc() for freeing the memory also. However, this is not entirely portable, and therefore the finished implementation used free() separately. There were some remnants of the size = 0 code in the allocate_field() code, which made it somewhat confusing. This change makes it clearer that size = 0 is not allowed (and not used by nanopb).
Diffstat (limited to 'tests/regression')
0 files changed, 0 insertions, 0 deletions