if (processs->array[i]) {
controller_process_delete_simple(processs->array[i]);
- f_memory_delete(1, sizeof(controller_process_t *), (void **) & processs->array[i]);
+ f_memory_delete(1, sizeof(controller_process_t), (void **) &processs->array[i]);
}
} // for
- status = f_memory_resize(processs->size, length, sizeof(controller_process_t), (void **) & processs->array);
+ status = f_memory_resize(processs->size, length, sizeof(controller_process_t *), (void **) &processs->array);
if (F_status_is_error(status)) return status;
if (length) {
// The lock must be initialized, but only once, so initialize immediately upon allocation.
for (; processs->size < length; ++processs->size) {
- status = f_memory_new(1, sizeof(controller_process_t *), (void **) &processs->array[processs->size]);
+ status = f_memory_new(1, sizeof(controller_process_t), (void **) &processs->array[processs->size]);
if (F_status_is_error_not(status)) {
process = processs->array[processs->size];