GTK (conversations table): Fix Dereference of null pointer found by Clang analyzer

Change-Id: Iebe0c581259b80d905f0ef3e26c1caae07f715d1
Reviewed-on: https://code.wireshark.org/review/4012
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2014-09-06 10:32:29 +02:00 committed by Michael Mann
parent 24d1295720
commit 0d6fb098d0
1 changed files with 3 additions and 0 deletions

View File

@ -1654,6 +1654,9 @@ draw_ct_table_data(conversations_table *ct)
double duration_s;
conv_item_t *conv_item;
if (!ct->hash.conv_array) {
continue;
}
if (iter_valid) {
gtk_tree_model_get(GTK_TREE_MODEL(store), &iter, CONV_INDEX_COLUMN, &idx, -1);
} else {