From e0aa65efc39c1dc982d0267f7eebb00f23d90c01 Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 30 Jan 2012 18:21:46 +0100 Subject: [PATCH] Should fix crash. --- console/main_wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/main_wrap.c b/console/main_wrap.c index 90386d6a0a..819c74c33a 100644 --- a/console/main_wrap.c +++ b/console/main_wrap.c @@ -60,7 +60,7 @@ int ssnes_main_init_wrap(const struct ssnes_main_wrap *args) char **tmp = argv; while (*tmp) { - free(tmp); + free(*tmp); tmp++; }