Potential memory leak in get()

I've made a small change to vmod_get(): the result gets copied into workspace storage and is then freed to make sure we don't end up leaking memory.