gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8168 - libmicrohttpd/src/testcurl/https


From: gnunet
Subject: [GNUnet-SVN] r8168 - libmicrohttpd/src/testcurl/https
Date: Mon, 2 Feb 2009 00:19:59 -0700 (MST)

Author: grothoff
Date: 2009-02-02 00:19:59 -0700 (Mon, 02 Feb 2009)
New Revision: 8168

Modified:
   libmicrohttpd/src/testcurl/https/mhds_get_test.c
   libmicrohttpd/src/testcurl/https/mhds_multi_daemon_test.c
   libmicrohttpd/src/testcurl/https/tls_daemon_options_test.c
Log:
fix

Modified: libmicrohttpd/src/testcurl/https/mhds_get_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/mhds_get_test.c    2009-02-02 07:13:22 UTC 
(rev 8167)
+++ libmicrohttpd/src/testcurl/https/mhds_get_test.c    2009-02-02 07:19:59 UTC 
(rev 8168)
@@ -161,6 +161,7 @@
   if (NULL == (mem_test_file_local = malloc (len)))
     {
       fprintf (stderr, MHD_E_MEM);
+      free (doc_path);
       return -1;
     }
 

Modified: libmicrohttpd/src/testcurl/https/mhds_multi_daemon_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/mhds_multi_daemon_test.c   2009-02-02 
07:13:22 UTC (rev 8167)
+++ libmicrohttpd/src/testcurl/https/mhds_multi_daemon_test.c   2009-02-02 
07:19:59 UTC (rev 8168)
@@ -160,6 +160,7 @@
     {
       fprintf (stderr, "Error: failed to read test file. %s\n",
                strerror (errno));
+      free (mem_test_file_local);
       free (doc_path);
       return -1;
     }

Modified: libmicrohttpd/src/testcurl/https/tls_daemon_options_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_daemon_options_test.c  2009-02-02 
07:13:22 UTC (rev 8167)
+++ libmicrohttpd/src/testcurl/https/tls_daemon_options_test.c  2009-02-02 
07:19:59 UTC (rev 8168)
@@ -183,6 +183,7 @@
     {
       fprintf (stderr, "Error: failed to read test file. %s\n",
                strerror (errno));
+      free (mem_test_file_local);
       free (doc_path);
       return -1;
     }
@@ -190,6 +191,7 @@
   if (NULL == (cbc.buf = malloc (sizeof (char) * len)))
     {
       fprintf (stderr, MHD_E_MEM);
+      free (mem_test_file_local);
       free (doc_path);
       return -1;
     }





reply via email to

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