8318591: avoid leaks in loadlib_aix.cpp reload_table()
Reviewed-by: mdoerr, lucy
This commit is contained in:
parent
cb383c05b2
commit
6d3cb459dc
@ -225,6 +225,7 @@ static bool reload_table() {
|
||||
lm->path = g_stringlist.add(ldi->ldinfo_filename);
|
||||
if (!lm->path) {
|
||||
trcVerbose("OOM.");
|
||||
free(lm);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
@ -246,6 +247,7 @@ static bool reload_table() {
|
||||
lm->member = g_stringlist.add(p_mbr_name);
|
||||
if (!lm->member) {
|
||||
trcVerbose("OOM.");
|
||||
free(lm);
|
||||
goto cleanup;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user