CID1130012: Double free in pony_spi_init()

Corresponding to flashrom svn r1772.

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
diff --git a/pony_spi.c b/pony_spi.c
index 101751f..2a3666f 100644
--- a/pony_spi.c
+++ b/pony_spi.c
@@ -140,6 +140,7 @@
 	} else if (arg && !strlen(arg)) {
 		msg_perr("Error: Missing argument for programmer type.\n");
 		free(arg);
+		return 1;
 	} else if (arg){
 		msg_perr("Error: Invalid programmer type specified.\n");
 		free(arg);