aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-05-12 15:10:01 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-05-12 15:10:01 +0200
commit7ed25ccf0d1e5b8c7fd3bd90f0375a06011cd394 (patch)
tree208229312256c01fc43232404948ae4875cf0d0f /lib/easy.c
parent01eede2662f8f4552324b828d8dd6335ee4e2d44 (diff)
Revert "WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usage"
This reverts commit 8ec2cb5544b86306b702484ea785b6b9596562ab. We don't have any code anywhere in libcurl (or the curl tool) that use wcsdup so there's no such memory use to track. It seems to cause mild problems with the Borland compiler though that we may avoid by reverting this change again. Bug: http://curl.haxx.se/mail/lib-2013-05/0070.html
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/easy.c b/lib/easy.c
index eb45bd717..5d441f718 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -198,9 +198,6 @@ curl_free_callback Curl_cfree = (curl_free_callback)free;
curl_realloc_callback Curl_crealloc = (curl_realloc_callback)realloc;
curl_strdup_callback Curl_cstrdup = (curl_strdup_callback)system_strdup;
curl_calloc_callback Curl_ccalloc = (curl_calloc_callback)calloc;
-#ifdef WIN32
-curl_wcsdup_callback Curl_cwcsdup = (curl_wcsdup_callback)wcsdup;
-#endif
#else
/*
* Symbian OS doesn't support initialization to code in writeable static data.
@@ -232,9 +229,6 @@ CURLcode curl_global_init(long flags)
Curl_crealloc = (curl_realloc_callback)realloc;
Curl_cstrdup = (curl_strdup_callback)system_strdup;
Curl_ccalloc = (curl_calloc_callback)calloc;
-#ifdef WIN32
- Curl_cwcsdup = (curl_wcsdup_callback)wcsdup;
-#endif
if(flags & CURL_GLOBAL_SSL)
if(!Curl_ssl_init()) {