edje_edit - fix mem leak of src strbuf on print status

though utterly minor - it's still a leak. fix CID 1039263
This commit is contained in:
Carsten Haitzler 2013-12-15 11:40:16 +09:00
parent ee8bfeb458
commit 7c38520f50
1 changed files with 3 additions and 1 deletions

View File

@ -7653,9 +7653,11 @@ edje_edit_print_internal_status(Evas_Object *obj)
unsigned int i;
int j;
*/
Eina_Strbuf *source_file;
GET_EED_OR_RETURN();
_edje_generate_source(obj);
source_file =_edje_generate_source(obj);
if (source_file) eina_strbuf_free(source_file);
/*
INF("****** CHECKIN' INTERNAL STRUCTS STATUS *********");