forked from osmocom/wireshark
Don't leak the graph (or skip a graph refnum) if single RLC channel not
found in selected frame in the packet list. svn path=/trunk/; revision=43972
This commit is contained in:
parent
08c1114822
commit
b342ac680d
|
@ -410,6 +410,11 @@ void rlc_lte_graph_cb(GtkAction *action _U_, gpointer user_data _U_)
|
|||
|
||||
debug(DBS_FENTRY) puts("rlc_lte_graph_cb()");
|
||||
|
||||
/* Can we choose an RLC channel from the selected frame? */
|
||||
if (!select_rlc_lte_session(&cfile, ¤t)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(g = graph_new())) {
|
||||
return;
|
||||
}
|
||||
|
@ -417,11 +422,9 @@ void rlc_lte_graph_cb(GtkAction *action _U_, gpointer user_data _U_)
|
|||
refnum++;
|
||||
graph_initialize_values(g);
|
||||
|
||||
if (!select_rlc_lte_session(&cfile, ¤t)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Get our list of segments from the packet list */
|
||||
graph_segment_list_get(g);
|
||||
|
||||
create_gui(g);
|
||||
graph_init_sequence(g);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue