fixed a potential segfault

SVN revision: 13963
This commit is contained in:
tsauerbeck 2005-03-28 14:14:15 +00:00 committed by tsauerbeck
parent ba12acb93d
commit c095b1e9fd
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ edje_thaw(void)
void
edje_fontset_append_set(char *fonts)
{
if (!fonts) return;
if (_edje_fontset_append)
free(_edje_fontset_append);
_edje_fontset_append = strdup(fonts);