Wireshark-commits: [Wireshark-commits] master f2f7f7e: Add wmem alloc parameter to ws_find_media_ty

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 11 Mar 2018 15:07:36 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f2f7f7e5577dee645ae52b36a0795934624c24eb
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

f2f7f7e by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add wmem alloc parameter to ws_find_media_type_parameter.
    
    All current uses of ws_find_media_type_parameter need wmem_packet_scope(), but there
    is no sense in limiting what other dissectors may want to do.
    
    Change-Id: I35b0dd2a024a0ae0a8345577dd92a1a21ddd2cc4
    Reviewed-on: https://code.wireshark.org/review/26427
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  68efae8   Adapt to current WS code base to make it compile and run without warnings or errors
    adds  f2f7f7e   Add wmem alloc parameter to ws_find_media_type_parameter.


Summary of changes:
 epan/dissectors/packet-isup.c      |  8 ++------
 epan/dissectors/packet-multipart.c | 29 ++++++++---------------------
 epan/media_params.c                |  5 ++---
 epan/media_params.h                |  4 ++--
 4 files changed, 14 insertions(+), 32 deletions(-)