indent: free memory correctly.
This commit is contained in:
parent
8ebd0d2dbf
commit
d5f66885ac
|
@ -103,7 +103,11 @@ indent_insert_bracket_case(indent_data *id, Evas_Object *entry, int cur_line)
|
|||
}
|
||||
|
||||
int space = indent_space_get(id, entry);
|
||||
if (space == len) return;
|
||||
if (space == len)
|
||||
{
|
||||
free(utf8);
|
||||
return;
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
if (len > space)
|
||||
|
|
Loading…
Reference in New Issue