mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 19:49:35 -05:00
Fix calloc typo
This commit is contained in:
parent
5b5b43a9e0
commit
000c1ca40b
1 changed files with 2 additions and 2 deletions
|
|
@ -297,8 +297,8 @@ oc_add_sups(
|
|||
sups1++;
|
||||
}
|
||||
nsups++;
|
||||
soc->soc_sups = (ObjectClass **)ch_calloc(1,
|
||||
nsups*sizeof(ObjectClass *));
|
||||
soc->soc_sups = (ObjectClass **)ch_calloc(nsups,
|
||||
sizeof(ObjectClass *));
|
||||
}
|
||||
nsups = 0;
|
||||
sups1 = sups;
|
||||
|
|
|
|||
Loading…
Reference in a new issue