Wireshark-commits: [Wireshark-commits] master 31425ea: tap-sctp: replace g_malloc with g_new.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 17 Mar 2018 21:23:59 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=31425eac725308efc15c37b03a3b8462c266ece0
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

31425ea by Dario Lombardo (lomato@xxxxxxxxx):

    tap-sctp: replace g_malloc with g_new.
    
    When allocating structs this increases a lot the code readability.
    
    Change-Id: I86b26ea3debb400d6e1e8012206008740e528b23
    Reviewed-on: https://code.wireshark.org/review/26523
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  ecda3d0   tap-sctp: remove guint32 unneeded allocations.
    adds  31425ea   tap-sctp: replace g_malloc with g_new.


Summary of changes:
 ui/tap-sctp-analysis.c | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)