mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9936 slapcat/slapschema: fix free of subtree cmdline option
Must dup arg since subtree may also come from parsed URL.
This commit is contained in:
parent
3991a0d191
commit
cbdeb374cf
1 changed files with 1 additions and 1 deletions
|
|
@ -536,7 +536,7 @@ slap_tool_init(
|
|||
case SLAPSCHEMA:
|
||||
/* dump subtree */
|
||||
ch_free( subtree );
|
||||
subtree = optarg;
|
||||
subtree = ch_strdup( optarg );
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue