From 609f11b31ecedc4e9f2a1f6017b60b1f51b15c22 Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanov Date: Wed, 8 Jul 2015 15:26:46 -0700 Subject: [PATCH] Fix memory-leak on soinfo_free() Bug: http://b/22290728 Change-Id: I00747056db2cd3ff8b33936278464daed7236536 --- linker/linker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/linker/linker.cpp b/linker/linker.cpp index f71e5e0f4..402e6ba13 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -285,6 +285,7 @@ static void soinfo_free(soinfo* si) { sonext = prev; } + si->~soinfo(); g_soinfo_allocator.free(si); }