eitd: fix stack use after scope

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0141466987
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-11-26 (Mon, 26 Nov 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2018-11-26 14:00:46 +01:00
committed by vanhofen
parent 645890c5e7
commit f433a0ea6e

View File

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