tal_set_backend(my_alloc, my_realloc, my_free, NULL);
- plan_tests(19 * 3);
+ plan_tests(2 + 19 * 3);
+
+ p1 = NULL;
+ ok1(tal_len(p1) == 0);
+ ok1(tal_count(p1) == 0);
for (i = 0; i < 3; i++) {
move = i;
tal_free(p2);
tal_free(p1);
}
+
+ tal_cleanup();
return exit_status();
}