Wireshark-commits: [Wireshark-commits] master-2.6 53a0b01: prefs: plug a memory leak.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 03 May 2020 00:07:55 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=53a0b0135fffeaf042a59b30cf1985048eb27b9c
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

53a0b01 by Guy Harris (guy@xxxxxxxxxxxx):

    prefs: plug a memory leak.
    
    Don't allocate the cols_hidden GString until we know we need it.
    
    Change-Id: I02966d2820efeb5d61d259a567bf9063d8b519f1
    Ping-Bug: 16335
    Reviewed-on: https://code.wireshark.org/review/37043
    Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    (cherry picked from commit bab7b8d638ba0ac6901d4295586d1f9865cbbb76)
    Reviewed-on: https://code.wireshark.org/review/37047
    

Actions performed:

    from  60fdf77   epan/color filters: plug a memory leak.
     add  53a0b01   prefs: plug a memory leak.


Summary of changes:
 epan/prefs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)