Release v7.10.1

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-16 15:25:31 +01:00
parent 11a2f82027
commit 5247094727
8 changed files with 26 additions and 18 deletions

View File

@@ -499,7 +499,7 @@ lv_theme_t * lv_theme_mono_init(lv_color_t color_primary, lv_color_t color_secon
* In a general case styles could be simple `static lv_style_t my style` variables*/
if(styles == NULL) {
styles = lv_mem_alloc(sizeof(theme_styles_t));
if (styles == NULL) return NULL;
if(styles == NULL) return NULL;
_lv_memset_00(styles, sizeof(theme_styles_t));
LV_GC_ROOT(_lv_theme_mono_styles) = styles;
}