diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-01-26 16:24:52 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-01-26 16:24:52 +0000 |
commit | 43e3c5e5fac200e45a4785448e2284da547f6836 (patch) | |
tree | b1b44171704790ce782b7ffeaecae659f6a31968 /src | |
parent | 4f496f2f70890dc0af9bdf9d61732401ee0f23b8 (diff) |
Free 'config->libcurl' at exit.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index a4626d42e..7ced23e05 100644 --- a/src/main.c +++ b/src/main.c @@ -422,6 +422,11 @@ static CURLcode main_init(void) /* stop stat() wasting time */ _djstat_flags |= _STAT_INODE | _STAT_EXEC_MAGIC | _STAT_DIRSIZE; #endif + +#ifdef WIN32 + LoadLibrary ("exchndl.dll"); +#endif + return curl_global_init(CURL_GLOBAL_DEFAULT); } @@ -3147,6 +3152,8 @@ static void free_config_fields(struct Configurable *config) free(config->iface); if(config->socksproxy) free(config->socksproxy); + if(config->libcurl) + free(config->libcurl); curl_slist_free_all(config->quote); /* checks for config->quote == NULL */ curl_slist_free_all(config->prequote); |