Wireshark-commits: [Wireshark-commits] master-2.2 357e063: tvbparse: fix memleak
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 2 Sep 2016 19:21:24 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=357e063cf9a40bb07b0087fe9931c1e1f5e6c5e5
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

357e063 by Peter Wu (peter@xxxxxxxxxxxxx):

    tvbparse: fix memleak
    
    Use same wmem_epan_scope() as "w" (tvbparse_wanted_t).
    
    Change-Id: I73fdb1fb3b55a91b7bb0fc36e435024c6f0b3d73
    Ping-Bug: 12790
    Reviewed-on: https://code.wireshark.org/review/17361
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    (cherry picked from commit 0bae8424fe651ea5de1f7e160666781e60ce3c86)
    Reviewed-on: https://code.wireshark.org/review/17463
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  297a4ea   pcapng: do not leak blocks
    adds  357e063   tvbparse: fix memleak


Summary of changes:
 epan/tvbparse.c |   10 ++++++++++
 1 file changed, 10 insertions(+)