gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r34795 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r34795 - gnunet/src/rps
Date: Fri, 26 Dec 2014 01:02:00 +0100

Author: ch3
Date: 2014-12-26 01:02:00 +0100 (Fri, 26 Dec 2014)
New Revision: 34795

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
_malloc() -> _new()

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2014-12-26 00:01:57 UTC (rev 34794)
+++ gnunet/src/rps/gnunet-service-rps.c 2014-12-26 00:02:00 UTC (rev 34795)
@@ -1359,7 +1359,7 @@
   } 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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]