From a9e71b12e1f7070ed975994d06514ed72df3ece1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 27 Jan 2016 08:50:23 +0100 Subject: [PATCH] Cleanup --- content.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content.c b/content.c index dd6bf9a17a..c45e586cd4 100644 --- a/content.c +++ b/content.c @@ -287,7 +287,11 @@ static bool content_load_state(const char *path) free(blocks[i].data); free(blocks); free(buf); - return ret; + + if (!ret) + goto error; + + return true; error: RARCH_ERR("%s \"%s\".\n",