Fix segmentation fault if no bitmap was present in the snapshot file
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com> SVN revision: 81653
This commit is contained in:
parent
cfd867dff4
commit
98a23a6112
|
@ -884,6 +884,8 @@ clouseau_data_eet_info_read(const char *filename,
|
|||
*ftd = eet_data_read(fp, clouseau_tree_data_edd, CLOUSEAU_TREE_DATA_ENTRY);
|
||||
t = eet_data_read(fp, clouseau_shot_list_edd, CLOUSEAU_BMP_LIST_ENTRY);
|
||||
|
||||
if (t)
|
||||
{
|
||||
EINA_LIST_FREE(t->view, st)
|
||||
{
|
||||
char buf[1024];
|
||||
|
@ -903,6 +905,7 @@ clouseau_data_eet_info_read(const char *filename,
|
|||
}
|
||||
|
||||
free(t);
|
||||
}
|
||||
eet_close(fp);
|
||||
|
||||
return EINA_TRUE;
|
||||
|
|
Loading…
Reference in New Issue