diff --git a/riscos/theme_install.c b/riscos/theme_install.c index 27cc69f7c..897023d7e 100644 --- a/riscos/theme_install.c +++ b/riscos/theme_install.c @@ -184,6 +184,7 @@ bool ro_gui_theme_install_apply(wimp_w w) if (!theme_file) { LOG(("malloc failed")); warn_user("NoMemory", 0); + return false; } for (fix = theme_file; *fix != '\0'; fix++) if (*fix == ' ')