Refs trac:3091
Gah! The "device" variable isn't used at all in this loop (my eye glossed over the next line and thought that "device" was used in the free() statement, but it's actually "devices" -- not "device"). This commit was SVN r29665. The following Trac tickets were found above: Ticket 3091 --> https://svn.open-mpi.org/trac/ompi/ticket/3091
Этот коммит содержится в:
родитель
7cb31111a6
Коммит
98ff91cfeb
@ -426,7 +426,6 @@ static void setup_mpit_pvars_enum(void)
|
||||
/* Free the strings (mca_base_var_enum_create() strdup()'ed them
|
||||
into private storage, so we don't need them any more) */
|
||||
for (i = 0; i < mca_btl_usnic_component.num_modules; ++i) {
|
||||
device = mca_btl_usnic_component.usnic_active_modules[i]->device;
|
||||
free((char*) devices[i].string);
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user