dtwm: Coverity 88311

This commit is contained in:
Peter Howkins
2018-07-02 20:32:50 +01:00
parent 6299ec7483
commit 9b4e0270a3

View File

@@ -1950,7 +1950,7 @@ GetNameList (RecordData * record_data,
name_list_count += 10;
name_list =
(char **) XtRealloc ((char *) name_list,
sizeof (char **) * (name_list_count + 1));
sizeof (char *) * (name_list_count + 1));
}
name_list [found_count] =
record_data[i].element_values[name_type].parsed_value;