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

@@ -478,7 +478,7 @@ static int
append_value_list()
{
char **value_list = parse_info.value;
char *value;
char *value = NULL;
int value_num = parse_info.value_num;
int value_len = parse_info.value_len;
char *str = parse_info.buf;
@@ -533,9 +533,9 @@ append_value_list()
if(value_list){
Xfree((char **)value_list);
}
if(value){
Xfree(value);
}
Xfree(value);
parse_info.value = (char **)NULL;
parse_info.value_num = 0;
parse_info.value_len = 0;