Wireshark-commits: [Wireshark-commits] master-3.2 c086ce9: prefs: plug a memory leak.

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

Commits:

c086ce9 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 38c8eb8835de6f540e91483d373f49451f8b5e6c)
    Reviewed-on: https://code.wireshark.org/review/37045
    

Actions performed:

    from  3d7681e   epan/color filters: plug a memory leak.
     add  c086ce9   prefs: plug a memory leak.


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