lstffree: must remove check for f since NULL is acceptable value