diff --git a/gfx/video_filter.c b/gfx/video_filter.c index 2acff20ae5..e6855c3feb 100644 --- a/gfx/video_filter.c +++ b/gfx/video_filter.c @@ -480,6 +480,8 @@ void rarch_softfilter_free(rarch_softfilter_t *filt) { for (i = 0; i < filt->threads; i++) { + if (!&filt->thread_data[i]) + continue; if (!filt->thread_data[i].thread) continue; slock_lock(filt->thread_data[i].lock);