forked from enlightenment/efl
Check for valid out_file before trying to write eet data to it.
NB: Fixes klockwork issue. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
ed08c1832c
commit
292d23321c
|
@ -1367,6 +1367,7 @@ main(int argc, char **argv)
|
|||
fl->list = eina_list_append(fl->list, fnt->f);
|
||||
}
|
||||
|
||||
if (out_file)
|
||||
{
|
||||
/* Write Fonts from all files */
|
||||
Eet_Data_Descriptor *_font_list_edd = NULL;
|
||||
|
@ -1380,6 +1381,7 @@ main(int argc, char **argv)
|
|||
eet_data_descriptor_free(_font_list_edd);
|
||||
eet_data_descriptor_free(_font_edd);
|
||||
}
|
||||
|
||||
free(fl);
|
||||
|
||||
if (sets)
|
||||
|
|
Loading…
Reference in New Issue