URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=146c6a0b245617fcf70d4939d85444f8044ac1c7
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
146c6a0 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>
(cherry picked from commit c22b2ccd94e4e0e5f71e2cb6bae5b9e2abe7ebf4)
Reviewed-on: https://code.wireshark.org/review/37058
Actions performed:
from 4c98bdd More issues spotted by PVS-Studio in bug 16335.
add 146c6a0 stats_tree: plug a memory leak.
Summary of changes:
rawshark.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)