diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-18 08:09:09 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-18 14:47:23 +0200 |
commit | 5bd63e0619d10d81850a9993ac278396bb77e36c (patch) | |
tree | 3fe1e3986f8df5eb3f81b7d8225d86bffc2051f5 /src/tool_help.h | |
parent | 2df7414a7390771316be4cc8822650470e7d7aa8 (diff) | |
download | curl-5bd63e0619d10d81850a9993ac278396bb77e36c.tar.gz |
--help: strdup the category
... since it is converted and the original pointer is freed on Windows
unicode handling.
Follow-up to aa8777f63febc
Fixes #5977
Closes #5978
Reported-by: xwxbug on github
Diffstat (limited to 'src/tool_help.h')
-rw-r--r-- | src/tool_help.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_help.h b/src/tool_help.h index 536ac10f8..1da23cc54 100644 --- a/src/tool_help.h +++ b/src/tool_help.h @@ -23,7 +23,7 @@ ***************************************************************************/ #include "tool_setup.h" -void tool_help(const char *category); +void tool_help(char *category); void tool_list_engines(void); void tool_version_info(void); |