Wireshark-commits: [Wireshark-commits] master f789c91: Have format_text_wsp use wmem allocated memo
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 30 Jan 2017 02:26:56 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f789c91a5ebbbefba51aa3da983fe836ebc860d6
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f789c91 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Have format_text_wsp use wmem allocated memory.
    
    format_text_wsp is fed into by tvb_format_text_wsp and tvb_format_stringzpad_wsp
    so those functions need to add a wmem allocated parameter as well.
    Most of the changes came from tvb_format_text_wsp and tvb_format_stringzpad_wsp
    being changed more so than format_text_wsp.
    
    Change-Id: I52214ca107016f0e96371a9a8430aa89336f91d7
    Reviewed-on: https://code.wireshark.org/review/19851
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  9365fd3   Convert GHashTable -> wmem_map_t for ASN.1 disseectors
    adds  f789c91   Have format_text_wsp use wmem allocated memory.


Summary of changes:
 epan/dissectors/packet-adb_service.c  |    6 ++--
 epan/dissectors/packet-at.c           |    2 +-
 epan/dissectors/packet-bthfp.c        |    2 +-
 epan/dissectors/packet-bthsp.c        |    2 +-
 epan/dissectors/packet-gsmtap_log.c   |    2 +-
 epan/dissectors/packet-imf.c          |    2 +-
 epan/dissectors/packet-megaco.c       |    2 +-
 epan/dissectors/packet-packetlogger.c |    2 +-
 epan/dissectors/packet-rpcap.c        |    4 +--
 epan/dissectors/packet-sip.c          |    2 +-
 epan/proto.c                          |    5 +++-
 epan/strutil.c                        |   52 +++++++++++++--------------------
 epan/strutil.h                        |    3 +-
 epan/tvbuff.c                         |    8 ++---
 epan/tvbuff.h                         |    4 +--
 15 files changed, 46 insertions(+), 52 deletions(-)