diff options
author | Guy Harris <gharris@sonic.net> | 2020-09-27 10:32:40 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-09-27 10:32:40 -0700 |
commit | 2d3a47d5386d11c6e6c141afd50bdb56e2b087ce (patch) | |
tree | b17fc2487da6b5ea9e1e9f8bc8abdd9889d09b6a /rpcap-protocol.c | |
parent | de155ae5b74aeae3327d8b60d1be203d02f765c1 (diff) |
Clean up allocation of some lists.
Always heck wehther the allocation succeeds, and fail if it doesn't.
Set the count of elements of the list only if the list was successfully
allocated. For stylistic consistency, also seet it after we've set all
the elements of the list.
Diffstat (limited to 'rpcap-protocol.c')
0 files changed, 0 insertions, 0 deletions