[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1372 - GNUnet/src/applications/session
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1372 - GNUnet/src/applications/session |
Date: |
Sun, 10 Jul 2005 04:33:49 -0700 (PDT) |
Author: grothoff
Date: 2005-07-10 04:33:46 -0700 (Sun, 10 Jul 2005)
New Revision: 1372
Modified:
GNUnet/src/applications/session/connect.c
Log:
leak
Modified: GNUnet/src/applications/session/connect.c
===================================================================
--- GNUnet/src/applications/session/connect.c 2005-07-10 11:20:26 UTC (rev
1371)
+++ GNUnet/src/applications/session/connect.c 2005-07-10 11:33:46 UTC (rev
1372)
@@ -112,7 +112,8 @@
*
* @param hostId the peer that gave a sign of live
*/
-static void notifyPONG(PeerIdentity * hostId) {
+static void notifyPONG(void * arg) {
+ PeerIdentity * hostId = arg;
#if DEBUG_SESSION
EncName enc;
#endif
@@ -364,7 +365,7 @@
sndr = MALLOC(sizeof(PeerIdentity));
*sndr = *receiver;
ping = pingpong->pingUser(receiver,
- (CronJob)¬ifyPONG,
+ ¬ifyPONG,
sndr,
NO);
if (ping == NULL) {
@@ -393,8 +394,8 @@
age,
ping,
pong);
+ FREE(ping);
if (skey == NULL) {
- FREE(ping);
transport->disconnect(tsession);
BREAK();
return SYSERR;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1372 - GNUnet/src/applications/session,
grothoff <=