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

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();