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

Fix calloc typo

parent 5b5b43a9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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