Wireshark-commits: [Wireshark-commits] master-2.2 c2e5d02: 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:20 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c2e5d02cab0512731a528a20ca0f09393a22ce6f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

c2e5d02 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/26327
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

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


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