aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool/gnunet-peerinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo-tool/gnunet-peerinfo.c')
-rw-r--r--src/peerinfo-tool/gnunet-peerinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c
index e62df3047..f4a9d3aa6 100644
--- a/src/peerinfo-tool/gnunet-peerinfo.c
+++ b/src/peerinfo-tool/gnunet-peerinfo.c
@@ -364,7 +364,7 @@ print_peer_info (void *cls, const struct GNUNET_PeerIdentity *peer,
364 GNUNET_i2s_full (peer)); 364 GNUNET_i2s_full (peer));
365 return; 365 return;
366 } 366 }
367 pc = GNUNET_malloc (sizeof (struct PrintContext)); 367 pc = GNUNET_new (struct PrintContext);
368 GNUNET_CONTAINER_DLL_insert (pc_head, 368 GNUNET_CONTAINER_DLL_insert (pc_head,
369 pc_tail, 369 pc_tail,
370 pc); 370 pc);