Wireshark-commits: [Wireshark-commits] master 7bbc60c: Add more memory checks, and use MemoryCheck(
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 12 Jun 2016 17:35:04 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7bbc60c668b69542ceaa6797ec1080425200f3b1
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

7bbc60c by Guy Harris (guy@xxxxxxxxxxxx):

    Add more memory checks, and use MemoryCheck() for some existing checks.
    
    Always check for malloc() and realloc() failing.  Use MemoryCheck() for
    most of the checks - it's a bit cleaner and makes the error message the
    same for those checks.
    
    Change-Id: I533153c697b37b85adfa0259c1352efece0b0486
    Reviewed-on: https://code.wireshark.org/review/15849
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  aaba30a   Qt: Draw a border around inactive+selected packet list items.
    adds  7bbc60c   Add more memory checks, and use MemoryCheck() for some existing checks.


Summary of changes:
 tools/lemon/lemon.c |   45 ++++++++++++++-------------------------------
 1 file changed, 14 insertions(+), 31 deletions(-)