Remove unnecessary calls to LinkedList::clear()
(cherry picked from commit 608217e1674d8fd8b334fe18c753b6c4638ed783) Change-Id: I031359d79b2e77977ace197ef410e41539dc0ce6
This commit is contained in:
parent
93c3f4203c
commit
5dfe802d0d
@ -657,8 +657,6 @@ ElfW(Sym)* dlsym_handle_lookup(soinfo* si, soinfo** found, const char* name) {
|
|||||||
|
|
||||||
if (result != nullptr) {
|
if (result != nullptr) {
|
||||||
*found = current_soinfo;
|
*found = current_soinfo;
|
||||||
visit_list.clear();
|
|
||||||
visited.clear();
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
visited.push_back(current_soinfo);
|
visited.push_back(current_soinfo);
|
||||||
@ -668,8 +666,6 @@ ElfW(Sym)* dlsym_handle_lookup(soinfo* si, soinfo** found, const char* name) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
visit_list.clear();
|
|
||||||
visited.clear();
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user