gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r997 - GNUnet/src/applications/advertising


From: grothoff
Subject: [GNUnet-SVN] r997 - GNUnet/src/applications/advertising
Date: Sat, 25 Jun 2005 05:44:23 -0700 (PDT)

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 */





reply via email to

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