Fix CID 967922: minor memory leak possibility.
This commit was SVN r28175.
Этот коммит содержится в:
родитель
447280b585
Коммит
f8bbfacf65
@ -385,7 +385,11 @@ static int query(pid_t pid,
|
|||||||
/* parse to extract the fields */
|
/* parse to extract the fields */
|
||||||
fields = NULL;
|
fields = NULL;
|
||||||
local_getfields(dptr, &fields);
|
local_getfields(dptr, &fields);
|
||||||
if (NULL == fields || 14 < opal_argv_count(fields)) {
|
if (NULL == fields) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (14 < opal_argv_count(fields)) {
|
||||||
|
opal_argv_free(fields);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* pack the ones of interest into the struct */
|
/* pack the ones of interest into the struct */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user