Wireshark-commits: [Wireshark-commits] master bc4ffef: print: remove leak in ek_check_protocolfilte

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 08 May 2019 01:48:20 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bc4ffefdadea3724993a30fa58901720bc7a9ff8
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

bc4ffef by Dario Lombardo (lomato@xxxxxxxxx):

    print: remove leak in ek_check_protocolfilter().
    
    Small rework while here to prevent the creation of str_escaped if
    the input string is enough for the check.
    
    Bug: 15758
    Change-Id: I5facf0307d1e0fed882bbe3ef91463164cf3440c
    Reviewed-on: https://code.wireshark.org/review/33100
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  8f85a14   Add another encapsulation option, for LAPB (see T.617a-1994 Annex G).
     add  bc4ffef   print: remove leak in ek_check_protocolfilter().


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