summaryrefslogtreecommitdiff
path: root/src/hostlist/hostlist-server.c
diff options
context:
space:
mode:
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,
}
else
{
- builder = GNUNET_malloc (sizeof (struct HostSet));
+ builder = GNUNET_new (struct HostSet);
}
GNUNET_assert (NULL != peerinfo);
builder->pitr =