ck_array: Reallocation on producer-path requires deferral.

Fix typo.
ck_pring
Samy Al Bahra 11 years ago
parent a7cb0f9bbb
commit 42aa90de33

@ -112,7 +112,7 @@ ck_array_put(struct ck_array *array, void *value)
update = array->allocator->realloc(array->transaction, update = array->allocator->realloc(array->transaction,
sizeof(struct _ck_array) + sizeof(void *) * array->n_entries, sizeof(struct _ck_array) + sizeof(void *) * array->n_entries,
sizeof(struct _ck_array) + sizeof(void *) * size, sizeof(struct _ck_array) + sizeof(void *) * size,
false); true);
if (update == NULL) if (update == NULL)
return false; return false;

Loading…
Cancel
Save