mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
Fix pointer initialization bug
This commit is contained in:
parent
2f6e801ab1
commit
d88f1757ef
1 changed files with 2 additions and 1 deletions
|
|
@ -117,9 +117,11 @@ do_modify(
|
|||
}
|
||||
|
||||
mod = (Modifications *) ch_malloc( sizeof(Modifications) );
|
||||
mod->sml_op = mop;
|
||||
mod->sml_type = tmp.sml_type;
|
||||
mod->sml_bvalues = tmp.sml_bvalues;
|
||||
mod->sml_desc = NULL;
|
||||
mod->sml_next =NULL;
|
||||
*modtail = mod;
|
||||
|
||||
switch( mop ) {
|
||||
|
|
@ -166,7 +168,6 @@ do_modify(
|
|||
}
|
||||
}
|
||||
|
||||
mod->sml_op = mop;
|
||||
modtail = &mod->sml_next;
|
||||
}
|
||||
*modtail = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue