input: don't free NULL libwaio pointer