readutmp: go back to simple ‘free’ Omit the new free_utmp function. Instead, allocate storage in one block, so that using code can still just call ‘free’. * lib/readutmp.c (struct utmp_alloc) [READUTMP_USE_SYSTEMD]: New type. (add_utmp) [READUTMP_USE_SYSTEMD]: New function. (read_utmp) [READUTMP_USE_SYSTEMD]: Use it. Also, use malloc a bit less heavily. (free_utmp): Remove. * tests/test-readutmp.c (main): Call free, not free_utmp.