Wireshark-commits: [Wireshark-commits] master-2.6 07c349a: Don't free something before freeing some

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 19 Dec 2018 07:13:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=07c349a2ce06d7ed375c33e1949d8f0f401833eb
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

07c349a by Guy Harris (guy@xxxxxxxxxxxx):

    Don't free something before freeing some of its contents.
    
    Free the wspstat_t only after freeing the hash table contained in it.
    
    Change-Id: I2aa31d74b6d0f86e5404a9b614fee8a3f6708938
    Ping-Bug: 15365
    Reviewed-on: https://code.wireshark.org/review/31108
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit ecce4d2b774ca5ec62623359e34dc5ebeda1d399)
    Reviewed-on: https://code.wireshark.org/review/31109
    

Actions performed:

    from  29e5315   Clean up exp_pdu_open() API.
     add  07c349a   Don't free something before freeing some of its contents.


Summary of changes:
 ui/cli/tap-wspstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)