Wireshark-commits: [Wireshark-commits] master a7d6321: Use some macros to clean up the Snifer decom

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 4 Oct 2014 02:59:51 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a7d6321d2d2662c702327750c2a02a65e9fec5eb
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a7d6321 by Guy Harris (guy@xxxxxxxxxxxx):

    Use some macros to clean up the Snifer decompression code.
    
    For code that's used in more than one place, use macros.  This combines
    a bunch of checks into the output macros.
    
    Change-Id: Ic32dce75e1c531fd28bfed180856e230277bfe58
    Reviewed-on: https://code.wireshark.org/review/4451
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  a6988b4   Fix memory leak and heap corruption on Windows.
    adds  a7d6321   Use some macros to clean up the Snifer decompression code.


Summary of changes:
 wiretap/ngsniffer.c |  183 +++++++++++++++++++++++++--------------------------
 1 file changed, 91 insertions(+), 92 deletions(-)