projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- replace deprecated INCLUDES with AM_CPPFLAGS
[oweals/gnunet.git]
/
src
/
dv
/
dv_api.c
diff --git
a/src/dv/dv_api.c
b/src/dv/dv_api.c
index cd12a0a214cda2a11b37e3abd77a06f82f18d5e3..a24965e84b3a9e9f2373d6faff66d46b6e6223f8 100644
(file)
--- a/
src/dv/dv_api.c
+++ b/
src/dv/dv_api.c
@@
-516,7
+516,7
@@
GNUNET_DV_service_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
{
struct GNUNET_DV_ServiceHandle *sh;
- sh = GNUNET_
malloc (sizeof (struct GNUNET_DV_ServiceHandle)
);
+ sh = GNUNET_
new (struct GNUNET_DV_ServiceHandle
);
sh->cfg = cfg;
sh->cls = cls;
sh->connect_cb = connect_cb;