Wireshark-commits: [Wireshark-commits] master c22b2cc: stats_tree: plug a memory leak.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 03 May 2020 01:25:33 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c22b2ccd94e4e0e5f71e2cb6bae5b9e2abe7ebf4
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

c22b2cc by Guy Harris (guy@xxxxxxxxxxxx):

    stats_tree: plug a memory leak.
    
    Don't allocate the GString until we know we'll be using it.
    
    Change-Id: I97e2f897795ada864cbacc3822d39e7348a93ca2
    Ping-Bug: 16335
    Reviewed-on: https://code.wireshark.org/review/37048
    Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    

Actions performed:

    from  b99dcf0   Fix some issues seen with a fresh run of PVS Studio
     add  c22b2cc   stats_tree: plug a memory leak.


Summary of changes:
 rawshark.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)