From: Peter Howkins Date: Mon, 2 Jul 2018 19:32:50 +0000 (+0100) Subject: dtwm: Coverity 88311 X-Git-Tag: 2.3.0a~271 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9b4e0270a31641bfa69f816103d614e654e6cd41;p=oweals%2Fcde.git dtwm: Coverity 88311 --- diff --git a/cde/programs/dtwm/DataBaseLoad.c b/cde/programs/dtwm/DataBaseLoad.c index e95e963f..d2a85020 100644 --- a/cde/programs/dtwm/DataBaseLoad.c +++ b/cde/programs/dtwm/DataBaseLoad.c @@ -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;