Wireshark-commits: [Wireshark-commits] master ad5cb2e: Have tvb_format_stringzpad use wmem_packet_s
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 31 Jan 2017 02:28:25 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ad5cb2eb72996c28bcd3e8f421e6dd410841e647
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ad5cb2e by Michael Mann (mmann78@xxxxxxxxxxxx):

    Have tvb_format_stringzpad use wmem_packet_scope() memory.
    
    It's only use is in dissectors, so have it use
    format_text_wmem with wmem_packet_scope().
    
    Change-Id: I22121324fd47aee32174b65104458ad2ef329bd7
    Reviewed-on: https://code.wireshark.org/review/19856
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  d802b5b   Add format_text_wmem.
    adds  ad5cb2e   Have tvb_format_stringzpad use wmem_packet_scope() memory.


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