don't leak memory

Same here, command is freed a few lines below.