diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-06-12 12:18:14 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-06-12 19:18:41 +0000 |
commit | 38d39f292e01551fe30b57583bd79a0d06d59420 (patch) | |
tree | fe989a77f65cddfaad57e0aa78e7857d01df5380 /make-version.pl | |
parent | 7bbc60c668b69542ceaa6797ec1080425200f3b1 (diff) | |
download | wireshark-38d39f292e01551fe30b57583bd79a0d06d59420.tar.gz |
Have MemoryCheck() directly incorporate the error message and exit.
Manually inline memory_error() in MemoryCheck(), so that static
analyzers know that, if MemoryCheck() sees a null pointer, it exists,
and the null pointer isn't subsequently used.
Use MemoryCheck() instead of the one place where we manually checked for
a null pointer and called memory_error().
Change-Id: Id6b0328cfd17cb14ec9d1e461420896a31573c71
Reviewed-on: https://code.wireshark.org/review/15851
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'make-version.pl')
0 files changed, 0 insertions, 0 deletions