Wireshark-commits: [Wireshark-commits] master-2.4 3c1c49f: Plug a leak.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 09 Mar 2018 02:13:35 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3c1c49f5393996f43cb151ca05c3cbd08d83096e
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

3c1c49f by Guy Harris (guy@xxxxxxxxxxxx):

    Plug a leak.
    
    "field" might be allocated even if the calculation type is
    CALC_TYPE_BYTES, CALC_TYPE_FRAMES, or CALC_TYPE_FRAMES_AND_BYTES.
    
    Change-Id: I0c70397a89e32172769c277bebfd950f1d21c679
    Reviewed-on: https://code.wireshark.org/review/26378
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit ea754b6761116133b506b782c079793d37d744a6)
    Reviewed-on: https://code.wireshark.org/review/26379
    

Actions performed:

    from  b421f91   When looking up response codes, just keep the key on the stack.
    adds  3c1c49f   Plug a leak.


Summary of changes:
 ui/cli/tap-iostat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)