Wireshark-commits: [Wireshark-commits] master d58567b: Fixed memory leakage in col_cleanup.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Nov 2014 08:01:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d58567bd78abc1903191c9a955365b8d41f09496
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d58567b by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Fixed memory leakage in col_cleanup.
    
    Several fields in cinfo is allocated memory and must be freed here
    to avoid memory leakage when recreating the packet list.
    
    Do not allocate memory for col_expr[] as this points to static strings
    or other allocated strings.
    
    Change-Id: I840377e3c590b1a3e2a38e0537465a028041d1e9
    Reviewed-on: https://code.wireshark.org/review/5137
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  64b8759   Try to fix dist.
    adds  d58567b   Fixed memory leakage in col_cleanup.


Summary of changes:
 epan/column-utils.c |   12 ++++++++++++
 epan/column.c       |    2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)