[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r270 - branches/GNUnet06/src/util
From: |
durner |
Subject: |
[GNUnet-SVN] r270 - branches/GNUnet06/src/util |
Date: |
Tue, 15 Feb 2005 08:58:28 -0800 (PST) |
Author: durner
Date: 2005-02-15 08:58:27 -0800 (Tue, 15 Feb 2005)
New Revision: 270
Modified:
branches/GNUnet06/src/util/identity.c
branches/GNUnet06/src/util/statuscalls.c
Log:
Fix memory leak under Windows
Modified: branches/GNUnet06/src/util/identity.c
===================================================================
--- branches/GNUnet06/src/util/identity.c 2005-02-15 06:29:23 UTC (rev
269)
+++ branches/GNUnet06/src/util/identity.c 2005-02-15 16:58:27 UTC (rev
270)
@@ -281,6 +281,9 @@
PRIP(ntohl(dwIP)));
identity->addr = dwIP;
+
+ GlobalFree(pTable);
+ GlobalFree(pAddrTable);
}
else /* Win 95 */
{
Modified: branches/GNUnet06/src/util/statuscalls.c
===================================================================
--- branches/GNUnet06/src/util/statuscalls.c 2005-02-15 06:29:23 UTC (rev
269)
+++ branches/GNUnet06/src/util/statuscalls.c 2005-02-15 16:58:27 UTC (rev
270)
@@ -508,6 +508,8 @@
rxdiff += rxnew - last_net_results[ifnum].last_in;
last_net_results[ifnum].last_in = rxnew;
+
+ GlobalFree(pTable);
}
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r270 - branches/GNUnet06/src/util,
durner <=