(frontend.c) Fix async job leak

This commit is contained in:
Higor Eurípedes 2015-12-06 14:28:06 -03:00
parent 9bb36cac38
commit aa08f3ba58

View File

@ -305,6 +305,11 @@ int rarch_main(int argc, char *argv[], void *data)
main_exit(args);
#endif
#ifdef HAVE_THREADS
async_job_free(global->async_jobs);
global->async_jobs = NULL;
#endif
return 0;
}