aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mac-lte.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-02-16 12:49:00 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2018-02-16 18:15:14 +0000
commit09671923adcb745381fc4b276085d0ac7cb8ee94 (patch)
treedd1b1b7a14cc5eae83cb260b045a13a5ebd27dea /epan/dissectors/packet-mac-lte.c
parentcfafb915d1f4741996b085336ac13998e573d9cd (diff)
mac-lte: fix memory leak of mac_lte_msg3_cr_hash
Found by LeakSanitizer with "tshark -i dbus-session -c1". Change-Id: Icef967755088ef25a9b1f2cd7def97078b274966 Fixes: v2.5.0rc0-1865-g52365a55e4 ("LTE L2 protocols: add FT_FRAMENUM_TYPE for most FT_FRAMENUM fields.") Reviewed-on: https://code.wireshark.org/review/25818 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
Diffstat (limited to 'epan/dissectors/packet-mac-lte.c')
-rw-r--r--epan/dissectors/packet-mac-lte.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mac-lte.c b/epan/dissectors/packet-mac-lte.c
index b150e11460..c0530246c9 100644
--- a/epan/dissectors/packet-mac-lte.c
+++ b/epan/dissectors/packet-mac-lte.c
@@ -7422,6 +7422,7 @@ static void mac_lte_cleanup_protocol(void)
{
g_hash_table_destroy(mac_lte_msg3_hash);
g_hash_table_destroy(mac_lte_cr_result_hash);
+ g_hash_table_destroy(mac_lte_msg3_cr_hash);
g_hash_table_destroy(mac_lte_dl_harq_hash);
g_hash_table_destroy(mac_lte_dl_harq_result_hash);
g_hash_table_destroy(mac_lte_ul_harq_hash);