eet eet_data.c: Fixed memory leak spotted by Igor Murzov (GArik_) <e-mail@date.by>

SVN revision: 75552
This commit is contained in:
Daniel Juyung Seo 2012-08-22 14:07:04 +00:00
parent 5421fc5757
commit 5070bbdf60
1 changed files with 2 additions and 2 deletions

View File

@ -1560,9 +1560,9 @@ case EET_T_ ## Type: type += EET_I_ ## Type; break;
if (chnk->data)
eet_data_stream_write(ds, chnk->data, chnk->size);
free(string);
on_error:
free(size);
on_error:
free(string);
}
/*---*/