dtudcfonted: Resolve further coverity issues

This commit is contained in:
Peter Howkins
2018-03-30 22:09:47 +01:00
parent e507de959e
commit e195df4b50
20 changed files with 51 additions and 44 deletions

View File

@@ -570,7 +570,7 @@ FalGlyphRegion *gr ;
int err_flg = 0;
int code_num;
char *tmp;
FalGIInf *gi ;
FalGIInf *gi = NULL;
int num_gi ;
int i, code ;
@@ -600,6 +600,9 @@ FalGlyphRegion *gr ;
}
}
}
XFree(gi);
if( !err_flg ) {
for( i=0; i<num_gr; i++ ) {
if( (code_num >= gr[i].start) && (code_num <= gr[i].end) )