Add support to free an automatic object (valgrind)

Add missing code to free an object that is used in an automatic context.

Also remove one compiler warning.
vlog95: Emit a new doing a shallow copy as an error.