diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-06-05 15:43:10 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-06-05 21:15:37 +0000 |
commit | 1ec868edddbca60e367f0681db8a5ee5aa32fe74 (patch) | |
tree | 2759a88e2b6bc3291b76f29894edde31c2b61124 /ui/gtk | |
parent | 244f2fbbf6c4167c75c4eb626aa8a73208ba3d8e (diff) |
Fix a few issues reported by PVS-Studio
See http://www.viva64.com/en/b/0328/ for details
Change-Id: Ic9ddfd690b49401c96cb8a4a277c671f9824be31
Reviewed-on: https://code.wireshark.org/review/8775
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>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/gtk')
-rw-r--r-- | ui/gtk/sctp_byte_graph_dlg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/gtk/sctp_byte_graph_dlg.c b/ui/gtk/sctp_byte_graph_dlg.c index c7f22a00e1..55a5bcd766 100644 --- a/ui/gtk/sctp_byte_graph_dlg.c +++ b/ui/gtk/sctp_byte_graph_dlg.c @@ -1516,7 +1516,6 @@ void create_byte_graph(guint16 dir, struct sctp_analyse* userdata) struct sctp_udata *u_data; u_data=(struct sctp_udata *)g_malloc(sizeof(struct sctp_udata)); - u_data->assoc=(sctp_assoc_info_t *)g_malloc(sizeof(sctp_assoc_info_t)); u_data->assoc=userdata->assoc; u_data->io=NULL; u_data->dir = dir; |