diff options
author | Dario Lombardo <lomato@gmail.com> | 2017-01-20 22:37:55 +0100 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2017-01-20 21:48:08 +0000 |
commit | 5235c2ec72ff3211bb05369e8d0c8b43c7c55c23 (patch) | |
tree | 30569ed5359b9ee506c68f1c7e18bc81176da501 /epan | |
parent | d6b19f59b722e85365653867578fb7e5305f53aa (diff) | |
download | wireshark-5235c2ec72ff3211bb05369e8d0c8b43c7c55c23.tar.gz |
atalk: add check in shutdown routine
Change-Id: I52c00fa143c8562cdb195679f28590d7f2bb30c8
Reviewed-on: https://code.wireshark.org/review/19709
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-atalk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-atalk.c b/epan/dissectors/packet-atalk.c index d57fe073e1..45361e4399 100644 --- a/epan/dissectors/packet-atalk.c +++ b/epan/dissectors/packet-atalk.c @@ -1612,7 +1612,8 @@ asp_reinit( void) static void asp_shutdown(void) { - g_hash_table_destroy(asp_request_hash); + if (asp_request_hash) + g_hash_table_destroy(asp_request_hash); } void |