Wireshark-commits: [Wireshark-commits] master-2.4 2e58b82: print: free memory if not used (found by

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Mar 2018 08:21:05 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2e58b825cd1aea05728ee454fa78a74ca3bf0df7
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

2e58b82 by Dario Lombardo (lomato@xxxxxxxxx):

    print: free memory if not used (found by clang).
    
    Change-Id: Ib6dc913ab1eeff7b29e18930b66b728080629773
    Reviewed-on: https://code.wireshark.org/review/26183
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 6db59affd9c9b20f2ce725cd2ce7a88c71982a07)
    Reviewed-on: https://code.wireshark.org/review/26326
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  c69d710   SMB2: use file scope to avoid leaking memory
    adds  2e58b82   print: free memory if not used (found by clang).


Summary of changes:
 epan/print.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)