Wireshark-commits: [Wireshark-commits] master 0d73ae3: Qt: Allocate packet list records using wmem.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 14 Jul 2016 07:10:39 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0d73ae3161e55fec631336e9efc4a0602bb095a6
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0d73ae3 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt: Allocate packet list records using wmem.
    
    Add PacketListRecord::operator new, which uses wmem_alloc. Roughly
    matches the GTK+ UI behavior. Add ColumnTextList which also uses
    wmem_alloc.
    
    Lazily allocate our column text.
    
    Change-Id: I86a63cd8ace7764eaab1561bf71b4358af72fe03
    Reviewed-on: https://code.wireshark.org/review/16418
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  ed27ad4   androiddump.c: Use preprocessor directive to distinguish E_AGAIN and E_WOULDBLOCK.
    adds  0d73ae3   Qt: Allocate packet list records using wmem.


Summary of changes:
 ui/qt/packet_list_record.cpp |   42 +++++++++++++++++++++++++++++++++---------
 ui/qt/packet_list_record.h   |    9 ++++++++-
 2 files changed, 41 insertions(+), 10 deletions(-)