Searched refs:new_str (Results 1 – 1 of 1) sorted by relevance
126 char * new_str = lv_mem_alloc(strlen(src) + 1); in lv_img_set_src() local127 LV_ASSERT_MALLOC(new_str); in lv_img_set_src()128 if(new_str == NULL) return; in lv_img_set_src()129 strcpy(new_str, src); in lv_img_set_src()130 img->src = new_str; in lv_img_set_src()