indent: free code line resource properly.

This commit is contained in:
Hermet Park 2016-03-07 23:42:10 +09:00
parent 55987e5774
commit 8f53a8d9cf
1 changed files with 2 additions and 0 deletions

View File

@ -892,6 +892,8 @@ indent_text_create(indent_data *id,
eina_strbuf_free(buf);
free(utf8_buf);
eina_list_free(code_lines);
if (indented_line_cnt) *indented_line_cnt = line_cnt;
return indented_markup;
}