Skip to content
Snippets Groups Projects
Commit f6162526 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use ber_strdup() as needed.

parent 1f52f6e4
No related branches found
No related tags found
No related merge requests found
......@@ -610,7 +610,7 @@ addmodifyop( LDAPMod ***pmodsp, int modop, char *attr, char *value, int vlen )
exit( 1 );
}
pmods[ i ]->mod_op = modop;
if (( pmods[ i ]->mod_type = strdup( attr )) == NULL ) {
if (( pmods[ i ]->mod_type = ber_strdup( attr )) == NULL ) {
perror( "strdup" );
exit( 1 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment