diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index c2c9267c7..4411e81c8 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -2197,7 +2197,7 @@ static void *houseKeepingThread(void *) pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); - std::string d = epg_dir + "/"; + static std::string d = epg_dir + "/"; printf("[%s]: %s\n",__func__,d.c_str());