X-Git-Url: http://git.openwrt.org/?p=project%2Fuclient.git;a=blobdiff_plain;f=uclient-fetch.c;h=bbf5eec58d710c6c8e58da0e7a62ea8dd2835559;hp=1c66ac6d33ae6d5cf24bd8379e7d5233746ca1b5;hb=086c292160ace27274b47a7c37e22fd173b2da9b;hpb=a3c1a88b031afa077965378e119947a276e78e23 diff --git a/uclient-fetch.c b/uclient-fetch.c index 1c66ac6..bbf5eec 100644 --- a/uclient-fetch.c +++ b/uclient-fetch.c @@ -503,6 +503,7 @@ static void init_ca_cert(void) glob("/etc/ssl/certs/*.crt", 0, NULL, &gl); for (i = 0; i < gl.gl_pathc; i++) ssl_ops->context_add_ca_crt_file(ssl_ctx, gl.gl_pathv[i]); + globfree(&gl); } static void init_ustream_ssl(void)