leak-- in win32 code.

SVN revision: 51546
This commit is contained in:
Carsten Haitzler 2010-08-22 22:30:55 +00:00
parent 64d565228a
commit b1dee3fc6d
1 changed files with 4 additions and 1 deletions

View File

@ -483,7 +483,10 @@ eina_log_win32_color_get(const char *domain_str)
/* this should not append */
if (str[0] != '\033')
return 0;
{
free(str);
return 0;
}
/* we skip the first char and the [ */
tmp = tmp2 = str + 2;