initialize a variable to avoid bad xfree

Bug introduced earlier today with new logic in
commit 543961969bf792603270eb29bb4f83e973197d67