aboutsummaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-02 13:45:35 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-02 13:48:36 +0000
commit0104678c798aabcd1935d736118d87a1358e14ec (patch)
tree274dd1aca2d194e7f19edfef430e4c539555bb6e /src/tool_operate.c
parentffb8a21d85bde8b626e5dc52ce25f0447ee49f89 (diff)
tool_operate: Moved memory tracking initialisation into tool_main
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index dd6d37f29..c3ccfe7f1 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -214,12 +214,9 @@ int operate(struct Configurable *config, int argc, argv_item_t argv[])
heads.stream = stdout;
heads.config = config;
- memory_tracking_init();
-
/*
** Initialize curl library - do not call any libcurl functions before
- ** this point. Note that the memory_tracking_init() magic above is an
- ** exception, but then that's not part of the official public API.
+ ** this point.
*/
if(main_init() != CURLE_OK) {
helpf(config->errors, "error initializing curl library\n");