(main_load_content) Do early return if wrap_args can't be allocated

This commit is contained in:
twinaphex 2015-01-30 07:42:58 +01:00
parent c6ab7f713a
commit 3b7dac52ef

View File

@ -211,6 +211,9 @@ bool main_load_content(int argc, char **argv, args_type() args,
(void)rarch_argv_ptr;
(void)ret;
if (!wrap_args)
return false;
rarch_assert(wrap_args);
if (environ_get)