aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/tcp_graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r--gtk/tcp_graph.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c
index e01ec6791e..2a3e67a38e 100644
--- a/gtk/tcp_graph.c
+++ b/gtk/tcp_graph.c
@@ -1694,9 +1694,6 @@ tapall_tcpip_packet(void *pct, packet_info *pinfo, epan_dissect_t *edt _U_, cons
if(!segment){
segment=g_malloc(sizeof (struct segment));
- if(!segment){
- perror ("malloc failed");
- }
}