We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cb2bf8 commit 9f08eaeCopy full SHA for 9f08eae
urler.c
@@ -136,6 +136,7 @@ static void pathadd(struct option *o, const char *path)
136
if(n) {
137
o->append_path = n;
138
}
139
+ free(urle);
140
141
142
@@ -159,6 +160,7 @@ static void queryadd(struct option *o, const char *query)
159
160
161
o->append_query = n;
162
163
164
165
166
@@ -483,6 +485,9 @@ int main(int argc, const char **argv)
483
485
} while(node);
484
486
/* we're done with libcurl, so clean it up */
487
curl_slist_free_all(o.url_list);
488
+ curl_slist_free_all(o.set_list);
489
+ curl_slist_free_all(o.append_path);
490
+ curl_slist_free_all(o.append_query);
491
curl_global_cleanup();
492
return exit_status;
493
0 commit comments