From ea355176fb8fc9ecb47f72045dee683e2b11bd24 Mon Sep 17 00:00:00 2001 From: Alexey Shilov Date: Thu, 18 Aug 2011 15:15:40 +0300 Subject: [PATCH] Fixes: #274302 - don't unload the main binary RevBy: TrustMe --- debian/changelog | 2 +- src/launcherlib/booster.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8860362..48928ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ applauncherd (2.0.0) unstable; urgency=low - * + * Fixes: #274302 - don't unload the main binary -- Alexey Shilov Thu, 18 Aug 2011 15:43:02 +0300 diff --git a/src/launcherlib/booster.cpp b/src/launcherlib/booster.cpp index 723c7c9..741b7f1 100644 --- a/src/launcherlib/booster.cpp +++ b/src/launcherlib/booster.cpp @@ -527,7 +527,7 @@ int Booster::launchProcess() setEnvironmentBeforeLaunch(); // Load the application and find out the address of main() - void* handle = loadMain(); + loadMain(); #ifdef WITH_COVERAGE __gcov_flush(); @@ -535,7 +535,6 @@ int Booster::launchProcess() // Jump to main() const int retVal = m_appData->entry()(m_appData->argc(), const_cast(m_appData->argv())); - dlclose(handle); #ifdef WITH_COVERAGE __gcov_flush();