[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12568 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12568 - gnunet/src/transport |
Date: |
Mon, 16 Aug 2010 11:35:54 +0200 |
Author: wachs
Date: 2010-08-16 11:35:54 +0200 (Mon, 16 Aug 2010)
New Revision: 12568
Modified:
gnunet/src/transport/plugin_transport_http.c
Log:
Fixed Codesonar Bug 10128.60649: Leak
Modified: gnunet/src/transport/plugin_transport_http.c
===================================================================
--- gnunet/src/transport/plugin_transport_http.c 2010-08-15 21:52:24 UTC
(rev 12567)
+++ gnunet/src/transport/plugin_transport_http.c 2010-08-16 09:35:54 UTC
(rev 12568)
@@ -608,12 +608,11 @@
else if ((af == AF_INET6) && (plugin->use_ipv6 == GNUNET_YES) &&
(plugin->bind4_address == NULL))
{
struct in6_addr bnd_cmp6 = ((struct sockaddr_in6 *) addr)->sin6_addr;
- t6 = GNUNET_malloc(sizeof(struct IPv6HttpAddress));
if (IN6_IS_ADDR_LINKLOCAL (&((struct sockaddr_in6 *) addr)->sin6_addr))
{
return GNUNET_OK;
}
-
+ t6 = GNUNET_malloc(sizeof(struct IPv6HttpAddress));
if (plugin->bind6_address != NULL)
{
if (0 == memcmp(&plugin->bind6_address->sin6_addr, &bnd_cmp6, sizeof
(struct in6_addr)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12568 - gnunet/src/transport,
gnunet <=