--help: strdup the category

... since it is converted and the original pointer is freed on Windows
unicode handling.

Follow-up to aa8777f63f
Fixes #5977
Closes #5978
Reported-by: xwxbug on github
This commit is contained in:
Daniel Stenberg 2020-09-18 08:09:09 +02:00
parent 2df7414a73
commit 5bd63e0619
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 14 additions and 14 deletions

View file

@ -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);