Prevent leaking memory
getargs test, strip spaces from command