lib/krb5: WIN32 _krb5_load_plugins wrong constness
The 'plugin_prefix' variable was declared 'const' which generates a warning because the C string is freed. This change removes the 'const' designation. Change-Id: I6f3838d6dbf1bb496f286c96aea96bae8948930d
This commit is contained in:
@@ -331,7 +331,7 @@ _krb5_load_plugins(krb5_context context, const char *name, const char **paths)
|
||||
char *dirname = NULL;
|
||||
DIR *d;
|
||||
#ifdef _WIN32
|
||||
const char * plugin_prefix;
|
||||
char *plugin_prefix;
|
||||
size_t plugin_prefix_len;
|
||||
|
||||
if (asprintf(&plugin_prefix, "plugin_%s_", name) == -1)
|
||||
|
Reference in New Issue
Block a user