sharkd_session: Fix Branch condition evaluate to a garbage value

sharkd_session.c:3307:18: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]
pespin/rlcmac
Alexis La Goutte 1 year ago
parent 5fc6549178
commit 3eb15f04ad
  1. 2
      sharkd_session.c

@ -3458,7 +3458,7 @@ sharkd_session_process_frame_cb(epan_dissect_t *edt, proto_tree *tree, struct ep
guint count = g_slist_length((GSList *) data_src);
guint i;
tvbs = (tvbuff_t **) g_malloc((count + 1) * sizeof(*tvbs));
tvbs = (tvbuff_t **) g_malloc0((count + 1) * sizeof(*tvbs));
for (i = 0; i < count; i++)
{

Loading…
Cancel
Save