projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixes
[oweals/gnunet.git]
/
src
/
testbed
/
testbed_api_services.c
diff --git
a/src/testbed/testbed_api_services.c
b/src/testbed/testbed_api_services.c
index 86ec284ed39b962fe3271145d3e1fdb98916f5cd..2c390719ecabe6a644108cd770071bd1f8d7c07d 100644
(file)
--- a/
src/testbed/testbed_api_services.c
+++ b/
src/testbed/testbed_api_services.c
@@
-263,7
+263,7
@@
GNUNET_TESTBED_service_connect (void *op_cls, struct GNUNET_TESTBED_Peer *peer,
{
struct ServiceConnectData *data;
- data = GNUNET_
malloc (sizeof (struct ServiceConnectData)
);
+ data = GNUNET_
new (struct ServiceConnectData
);
data->ca = ca;
data->da = da;
data->cada_cls = cada_cls;