mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-28 11:53:09 +00:00
8362611: [GCC static analyzer] memory leak in ps_core.c core_handle_note
Reviewed-by: dholmes, mbaesken
This commit is contained in:
parent
fd7f78a535
commit
644e400cd1
@ -286,7 +286,7 @@ static bool core_handle_note(struct ps_prochandle* ph, ELF_PHDR* note_phdr) {
|
||||
if (notep->n_type == NT_PRSTATUS) {
|
||||
if (core_handle_prstatus(ph, descdata, notep->n_descsz) != true) {
|
||||
print_error("failed to handle NT_PRSTATUS note\n");
|
||||
return false;
|
||||
goto err;
|
||||
}
|
||||
} else if (notep->n_type == NT_AUXV) {
|
||||
// Get first segment from entry point
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user