Fix memory leak in VAMS $simparam$str call.