Cleanup for single linked list tests.
This commit is contained in:
parent
58566f3a87
commit
d6658187fb
|
@ -85,6 +85,7 @@ linked_list_t* generate_long_random_list(int length) {
|
||||||
free(list);
|
free(list);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Loop and add the rest. */
|
/* Loop and add the rest. */
|
||||||
for (i = 1; i < length; i++) {
|
for (i = 1; i < length; i++) {
|
||||||
/* Generate and attempt to append. */
|
/* Generate and attempt to append. */
|
||||||
|
|
Loading…
Reference in New Issue