forked from osmocom/wireshark
VoIP Call (GTK): Fix Dereference of null pointer found by Clang analyzer
Change-Id: I80029b6238c78dcab83a6a70eca0af5b66e1488d Reviewed-on: https://code.wireshark.org/review/5401 Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
c07e9fe450
commit
fecea9745e
|
@ -358,6 +358,9 @@ on_graph_bt_clicked(GtkButton *button _U_, gpointer user_data _U_)
|
|||
voip_calls_info_t *listinfo;
|
||||
voip_calls_tapinfo_t *tapinfo = voip_calls_get_info();
|
||||
|
||||
if(!tapinfo->graph_analysis){
|
||||
return;
|
||||
}
|
||||
g_queue_sort(tapinfo->graph_analysis->items, graph_analysis_sort_compare, NULL);
|
||||
|
||||
/* reset the "display" parameter in graph analysis */
|
||||
|
|
Loading…
Reference in New Issue