Wireshark-commits: [Wireshark-commits] master-3.0 d3ea06c: stats_tree: plug a memory leak.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d3ea06cf4f3b74745b474f22f3f17432abf6ee6d
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
d3ea06c 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/37057
Actions performed:
from e6b1354 More issues spotted by PVS-Studio in bug 16335.
add d3ea06c stats_tree: plug a memory leak.
Summary of changes:
rawshark.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)