clear any exisiting error
authorYong Song <yong.song@samsung.com>
Thu, 1 Aug 2013 02:46:46 +0000 (11:46 +0900)
committerYong Song <yong.song@samsung.com>
Thu, 1 Aug 2013 02:46:46 +0000 (11:46 +0900)
Change-Id: I99f0f0401ee6ff2a2c08fe867a28475523e12751

src/app/FApp_AppEntry.cpp

index 1360497..e81f4c2 100644 (file)
@@ -263,6 +263,7 @@ DoPreExec(const char* packageName, const char* bin_path)
                return -1;
        }
        LOG(LOG_DEBUG, LOG_IO_TAG, "Tizen::Io > dlopen() ok");
+       dlerror();
 
        DoPreExecFunc = reinterpret_cast <int (*)(const char*, const char*)>(dlsym(handle, "do_pre_exec"));
        errormsg = dlerror();