Bug fix: don't free a stack variable.