access: Fixed memory leak.

This fixes coverity CID 1193244:  Resource leak  (RESOURCE_LEAK).

@fix
This commit is contained in:
Daniel Juyung Seo 2014-03-21 02:33:22 +09:00
parent 8f7c12fef7
commit fadcf243ce
1 changed files with 1 additions and 2 deletions

View File

@ -253,9 +253,8 @@ _access_highlight_read(Elm_Access_Info *ac, Evas_Object *obj)
eina_strbuf_append_printf(strbuf, ", %s", txt);
else
eina_strbuf_append(strbuf, txt);
free(txt);
}
free(txt);
}
}