Skip to content

Fix the sizeof() for array holding the pointers to clientmgr

Ondřej Surý requested to merge 2722-bad-sizeof-declaration-in-main into main

The size of the array holding the pointers to clientmgr was created so big it could hold the actual clientmgr objects, not just the pointer. This commit fixes the size to be just the ncpus * sizeof(pointer).

Closes #2722 (closed)

Merge request reports