From f13ab52ff6bf2a9407e2fca7e79cfeb3d83d24aa Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 10 Apr 2015 20:29:48 +0200 Subject: [PATCH] (runloop_data.c) Early return if image is NULL --- runloop_data.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runloop_data.c b/runloop_data.c index f90e82bf53..5ec626bba8 100644 --- a/runloop_data.c +++ b/runloop_data.c @@ -670,6 +670,9 @@ static void rarch_main_data_nbio_image_iterate(bool is_thread, { (void)is_thread; + if (!image) + return; + if (image->handle) { if (image->is_blocking_on_processing)