Wireshark-commits: [Wireshark-commits] master cc47932: Have tvb_format_text use wmem_packet_scope()

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 31 Jan 2017 06:35:06 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cc479321c387a8684248bf7dde969535f9ebcfad
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

cc47932 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Have tvb_format_text use wmem_packet_scope() memory.
    
    It's only use is in dissectors or other tree creation APIs (where
    packet scope is valid), so have it use format_text_wmem with
    wmem_packet_scope().
    
    Change-Id: I1f34e284a870c9844c6b27f4ae08a1e7efe54098
    Reviewed-on: https://code.wireshark.org/review/19883
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  93e7103   TLS: add bare essentials for TLS 1.3 decryption support
    adds  cc47932   Have tvb_format_text use wmem_packet_scope() memory.


Summary of changes:
 epan/tvbuff.c |    7 ++++---
 epan/tvbuff.h |    3 ++-
 2 files changed, 6 insertions(+), 4 deletions(-)