enventor - fix invalid memoary allocation.

This commit is contained in:
ChunEon Park 2013-10-04 00:28:27 +09:00
parent 9281799193
commit 4b39769738
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ indent_insert_br_case(indent_data *id, Evas_Object *entry)
}
int space = indent_space_get(id, entry);
if (space <= 0) return;
//Alloc Empty spaces
char *p = alloca(space + 1);
memset(p, ' ', space);