-added some missing free line, may fixes some problems

This commit is contained in:
fix94.1 2012-05-31 11:02:23 +00:00
parent 9c10b4c454
commit 05e8e8f12c

View File

@ -274,6 +274,11 @@ int get_frag_list(u8 *id, char *path, const u32 hdd_sector_size)
ret_val = 0;
out:
if(ret_val && frag_list != NULL)
{
MEM1_free(frag_list);
frag_list = NULL;
}
if(fs != NULL)
{
MEM2_free(fs);