[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9338 - libmicrohttpd/src/daemon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9338 - libmicrohttpd/src/daemon |
Date: |
Thu, 29 Oct 2009 06:34:02 -0600 |
Author: grothoff
Date: 2009-10-29 06:34:02 -0600 (Thu, 29 Oct 2009)
New Revision: 9338
Modified:
libmicrohttpd/src/daemon/daemon.c
Log:
From:
Eric Sesterhenn <address@hidden>
To:
address@hidden
Date:
Today 13:07:40
Attachments:
libmicro.diff
Spam Status: Spamassassin 0% probability of being spam.
Full report:
No, score=-2.6 required=7.0 tests=BAYES_00 autolearn=ham
version=3.2.5-tuminfo_1
hi,
attached patch fixes two leaks of retVal in error paths found by cppcheck.
Regards, Eric
Modified: libmicrohttpd/src/daemon/daemon.c
===================================================================
--- libmicrohttpd/src/daemon/daemon.c 2009-10-29 09:52:26 UTC (rev 9337)
+++ libmicrohttpd/src/daemon/daemon.c 2009-10-29 12:34:02 UTC (rev 9338)
@@ -1221,6 +1221,7 @@
#if HAVE_MESSAGES
fprintf (stderr, "AF_INET6 not supported\n");
#endif
+ free (retVal);
return NULL;
}
#endif
@@ -1245,6 +1246,7 @@
FD_SETSIZE);
#endif
CLOSE (socket_fd);
+ free (retVal);
return NULL;
}
if ((SETSOCKOPT (socket_fd,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9338 - libmicrohttpd/src/daemon,
gnunet <=