Free current command that was leaking memory