Wireshark-commits: [Wireshark-commits] master-3.0 52d81a9: prefs: plug a memory leak.

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

Commits:

52d81a9 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/37046
    

Actions performed:

    from  8d48b90   epan/color filters: plug a memory leak.
     add  52d81a9   prefs: plug a memory leak.


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