Hi,

Please find the latest report on new defect(s) introduced to Enlightenment 
Foundation Libraries found with Coverity Scan.

2 new defect(s) introduced to Enlightenment Foundation Libraries found with 
Coverity Scan.
8 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent 
build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)


** CID 1430215:  Resource leaks  (RESOURCE_LEAK)
/src/lib/evas/common/evas_text_utils.c: 1115 in _content_create_ot()


________________________________________________________________________________________________________
*** CID 1430215:  Resource leaks  (RESOURCE_LEAK)
/src/lib/evas/common/evas_text_utils.c: 1115 in _content_create_ot()
1109                    }
1110                  pen_x = gl_itr->pen_after;
1111               }
1112             gl_itr->pen_after += adjust_x;
1113     
1114             fi = text_props->font_instance;
>>>     CID 1430215:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "fg" going out of scope leaks the storage it points to.
1115          }
1116     }
1117     #else
1118     static inline void
1119     _content_create_regular(RGBA_Font_Int *fi, const Eina_Unicode *text,
1120           Evas_Text_Props *text_props, const Evas_BiDi_Paragraph_Props 
*par_props,

** CID 1430214:  Resource leaks  (RESOURCE_LEAK)
/src/lib/evas/common/evas_font_ot.c: 191 in 
_evas_common_font_ot_hb_get_glyph_advance()


________________________________________________________________________________________________________
*** CID 1430214:  Resource leaks  (RESOURCE_LEAK)
/src/lib/evas/common/evas_font_ot.c: 191 in 
_evas_common_font_ot_hb_get_glyph_advance()
185        RGBA_Font_Glyph *fg;
186        (void) font;
187        (void) user_data;
188        fg = evas_common_font_int_cache_glyph_get(fi, glyph);
189        if (fg)
190          {
>>>     CID 1430214:  Resource leaks  (RESOURCE_LEAK)
>>>     Variable "fg" going out of scope leaks the storage it points to.
191             return fg->advance.x >> 10;
192          }
193        return 0;
194     }
195     
196     static hb_position_t


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExl4Ru1vqXvuwTryVO2Nj02BDTXle-2BVhCv8FT7jqbi77HUQo-2FVd-2B1-2F-2BoakUp0ZyUERYinKunD4dh9MAw6ivIOiFZFMm_mvpcOc8FOVNbImGRSJC5zHD-2FhpVE1eyBkS-2FwxVM20bAYoRluBZqz-2BflYwpXqPgd3gYFYUzm1tSbryd7SRVJFn4PvarXLVxZu-2BzTLuTlIaISR3yblBb26PLyZrL8-2BVh5QULCNziWIypajTOz5IZX7ZkWWkNVPQNPuE8VfavgJ5XoLM-2FPuwNSnjIXNXaeCHGEzMJ6p8rHBcQoCM11yhWamYAGv13-2BzULLYBEWmon5s-2FGqH73lRGOdPg2CQqguC06r6



_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to