fix segfault

This commit is contained in:
TangoCash
2019-03-03 22:20:23 +01:00
committed by Thilo Graf
parent 0174e6971f
commit 39ae3e8e15

View File

@@ -69,8 +69,7 @@ cTmdb::~cTmdb()
void cTmdb::setTitle(std::string epgtitle) void cTmdb::setTitle(std::string epgtitle)
{ {
memset(&minfo, 0, sizeof(minfo)); minfo.epgtitle = epgtitle;
minfo.epgtitle = epgtitle;
CHintBox hintbox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_TMDB_READ_DATA)); CHintBox hintbox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_TMDB_READ_DATA));
hintbox.paint(); hintbox.paint();
@@ -190,4 +189,4 @@ void cTmdb::cleanup()
{ {
if (access(TMDB_COVER, F_OK) == 0) if (access(TMDB_COVER, F_OK) == 0)
unlink(TMDB_COVER); unlink(TMDB_COVER);
} }