Fix memleak reported by Coverity

NB: Fixes Coverity CID1039261

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-07-08 11:31:17 +01:00
parent 57924e5824
commit b72e694573
1 changed files with 4 additions and 1 deletions

View File

@ -2128,7 +2128,10 @@ eet_alias_get(Eet_File *ef,
}
if (tmp[compr_size - 1] != '\0')
goto on_error;
{
free(tmp);
goto on_error;
}
UNLOCK_FILE(ef);