projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
more information why nat tests fail
[oweals/gnunet.git]
/
src
/
peerinfo
/
peerinfo_api_notify.c
diff --git
a/src/peerinfo/peerinfo_api_notify.c
b/src/peerinfo/peerinfo_api_notify.c
index f5a076a20460fac413056e642fc08593adf96029..af41b08f95d834dc64eb34b5cb192794a34e9345 100644
(file)
--- a/
src/peerinfo/peerinfo_api_notify.c
+++ b/
src/peerinfo/peerinfo_api_notify.c
@@
-269,7
+269,7
@@
GNUNET_PEERINFO_notify (const struct GNUNET_CONFIGURATION_Handle *cfg,
"peerinfo");
return NULL;
}
- nc = GNUNET_
malloc (sizeof (struct GNUNET_PEERINFO_NotifyContext)
);
+ nc = GNUNET_
new (struct GNUNET_PEERINFO_NotifyContext
);
nc->cfg = cfg;
nc->client = client;
nc->callback = callback;