lstffree: as for lstffree_list, f == NULL is OK, we don't always want to free data