Author: grothoff
Date: 2005-06-25 05:44:20 -0700 (Sat, 25 Jun 2005)
New Revision: 997
Modified:
GNUnet/src/applications/advertising/advertising.c
Log:
leak
Modified: GNUnet/src/applications/advertising/advertising.c
===================================================================
--- GNUnet/src/applications/advertising/advertising.c 2005-06-25 12:34:10 UTC
(rev 996)
+++ GNUnet/src/applications/advertising/advertising.c 2005-06-25 12:44:20 UTC
(rev 997)
@@ -257,11 +257,7 @@
/* Ok, must play PING-PONG. Add the HELO to the temporary
(in-memory only) buffer to make it available for a short
time in order to play PING-PONG */
- copy = MALLOC(HELO_Message_size(msg));
- memcpy(copy,
- msg,
- HELO_Message_size(msg));
- identity->addHostTemporarily(copy);
+ identity->addHostTemporarily(msg);
/* Establish session as advertised in the HELO */
_______________________________________________
GNUnet-SVN mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-svn