(configure): add a missing strdup. From Michal Vocu
<michal@karlin.mff.cuni.cz> git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7188 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -182,7 +182,7 @@ configure(int argc, char **argv)
|
||||
|
||||
if(port_str == NULL){
|
||||
p = krb5_config_get_string(context, cf, "kdc", "ports", NULL);
|
||||
port_str = (char*)p;
|
||||
port_str = strdup(p);
|
||||
}
|
||||
if(enable_http == -1)
|
||||
enable_http = krb5_config_get_bool(context, cf, "kdc",
|
||||
|
Reference in New Issue
Block a user