projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93b040e
)
_malloc() -> _new()
author
Julius Bünger
<buenger@mytum.de>
Fri, 26 Dec 2014 00:02:00 +0000
(
00:02
+0000)
committer
Julius Bünger
<buenger@mytum.de>
Fri, 26 Dec 2014 00:02:00 +0000
(
00:02
+0000)
src/rps/gnunet-service-rps.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps.c
b/src/rps/gnunet-service-rps.c
index a3bfbc53635b4906aea3bcd8f795956365219ef4..3e699e6065b57b415f5452928dd9ac1c96819550 100644
(file)
--- a/
src/rps/gnunet-service-rps.c
+++ b/
src/rps/gnunet-service-rps.c
@@
-1359,7
+1359,7
@@
handle_inbound_channel (void *cls,
} else {
struct peer_context *ctx;
- ctx = GNUNET_
malloc (sizeof(struct peer_context)
);
+ ctx = GNUNET_
new(struct peer_context
);
ctx->in_flags = in_other_gossip_list;
ctx->mq = NULL; // TODO create mq?
ctx->from_channel = channel;