diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-11-15 22:57:43 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-11-16 09:56:46 +0000 |
commit | 2773596970c362a6d81c7e44311781590074c43f (patch) | |
tree | 56bc2bad99653c9967b9589ef8610b1f82f153ee /ui/voip_calls.c | |
parent | 442314e8b2bdc4ea921bd7136aadb851652f4ce7 (diff) | |
download | wireshark-2773596970c362a6d81c7e44311781590074c43f.tar.gz |
Qt: add a reference counter to sequence analysis info
Increment the reference counter each time a flow sequence window is opened.
Free seq_analysis_info_t structure once the last flow sequence / VoIP calls / SIP flow window is closed.
Bug: 11712
Change-Id: I20fcb922b0516417d4bd74cdf75475dcb31f8b90
Reviewed-on: https://code.wireshark.org/review/11851
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui/voip_calls.c')
-rw-r--r-- | ui/voip_calls.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/voip_calls.c b/ui/voip_calls.c index 0357977aee..432f79712b 100644 --- a/ui/voip_calls.c +++ b/ui/voip_calls.c @@ -272,13 +272,6 @@ voip_calls_reset_all_taps(voip_calls_tapinfo_t *tapinfo) if(NULL!=tapinfo->callsinfo_hashtable[SIP_HASH]) g_hash_table_remove_all (tapinfo->callsinfo_hashtable[SIP_HASH]); - /* free the graph data items first */ - if(NULL == tapinfo->graph_analysis) { - tapinfo->graph_analysis = sequence_analysis_info_new(); - } - - sequence_analysis_list_free(tapinfo->graph_analysis); - /* free the strinfo data items first */ list = g_list_first(tapinfo->rtp_stream_list); while(list) |