diff options
author | Dimitry Ivanov <dimitry@google.com> | 2016-04-11 12:42:58 -0700 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2016-04-14 11:52:16 -0700 |
commit | aca299ac4721809d6fc61e25c505bb59acd23fbc (patch) | |
tree | 9ab0080d50c63440a2368d74d8256ced4726e9db /libc/malloc_debug/GuardData.cpp | |
parent | 30bc91a083e45acfded89604474189628e5c1259 (diff) |
Remove dangling links in secondary namespaces
linker didn't remove link to the soinfo from shared
namespaces on soinfo_unload, because it didn't keep
record of all namespaces the library is added to.
This change adds test for this and also fixes the
problem by introducing list of secondary namespaces
to soinfo, which is used to remove soinfo in
soinfo::remove_all_links().
Bug: http://b/28115950
Change-Id: Ifbf6e54f92fa6e88f86b6a8dd6dc22d4553afd22
Diffstat (limited to 'libc/malloc_debug/GuardData.cpp')
0 files changed, 0 insertions, 0 deletions