~ubuntu-branches/ubuntu/vivid/libmicrohttpd/vivid

« back to all changes in this revision

Viewing changes to src/testcurl/https/mhds_multi_daemon_test.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-05-18 12:41:53 UTC
  • mfrom: (1.3.1 upstream) (7.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090518124153-nfup3gwcwpt4soes
Tags: 0.4.2-1
MergingĀ upstreamĀ versionĀ 0.4.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    {
73
73
      fprintf (stderr, "Error: failed to read test file. %s\n",
74
74
               strerror (errno));
 
75
      free (mem_test_file_local);
75
76
      return -1;
76
77
    }
77
78
  cbc.size = len;
79
80
 
80
81
  if (gen_test_file_url (url, port))
81
82
    {
 
83
      free (mem_test_file_local);
 
84
      free (cbc.buf);
82
85
      return -1;
83
86
    }
84
87
 
112
115
      fprintf (stderr, "curl_easy_perform failed: `%s'\n",
113
116
               curl_easy_strerror (errornum));
114
117
      curl_easy_cleanup (c);
 
118
      free (mem_test_file_local);
 
119
      free (cbc.buf);
115
120
      return errornum;
116
121
    }
117
122