aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/hostlist-server.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-12-19 06:00:23 +0000
committerLRN <lrn1986@gmail.com>2013-12-19 06:00:23 +0000
commite0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch)
treeecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/hostlist/hostlist-server.c
parent92fd84dc7ef98452f848a62677c61a2b80b5835e (diff)
downloadgnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz
gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip
malloc -> new
Diffstat (limited to 'src/hostlist/hostlist-server.c')
-rw-r--r--src/hostlist/hostlist-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c
index 2cda6dd00..ef4debc05 100644
--- a/src/hostlist/hostlist-server.c
+++ b/src/hostlist/hostlist-server.c
@@ -433,7 +433,7 @@ process_notify (void *cls, const struct GNUNET_PeerIdentity *peer,
433 } 433 }
434 else 434 else
435 { 435 {
436 builder = GNUNET_malloc (sizeof (struct HostSet)); 436 builder = GNUNET_new (struct HostSet);
437 } 437 }
438 GNUNET_assert (NULL != peerinfo); 438 GNUNET_assert (NULL != peerinfo);
439 builder->pitr = 439 builder->pitr =