Evas textblock: Fixed a memory leak.

Thanks to discomfitor for the report.

SVN revision: 61925
This commit is contained in:
Tom Hacohen 2011-07-31 08:09:02 +00:00
parent aa67649153
commit 93e4267051
1 changed files with 1 additions and 0 deletions

View File

@ -4978,6 +4978,7 @@ evas_object_textblock_text_markup_prepend(Evas_Textblock_Cursor *cur, const char
memcpy(ttag, tag_start + 1, ttag_len);
ttag[ttag_len] = 0;
evas_textblock_cursor_format_prepend(cur, ttag);
free(ttag);
}
tag_start = tag_end = NULL;
}