projects
/
vompclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de6fbe2
)
Fix segfault in advanced recording menu
author
Marten Richter
<marten.richter@freenet.de>
Fri, 24 Oct 2014 06:11:53 +0000
(08:11 +0200)
committer
Marten Richter
<marten.richter@freenet.de>
Fri, 24 Oct 2014 06:11:53 +0000
(08:11 +0200)
vrecordinglistadvanced.cc
patch
|
blob
|
history
diff --git
a/vrecordinglistadvanced.cc
b/vrecordinglistadvanced.cc
index 004a0d03914deaab03c2b6e70c58d9743bf289b4..b4fbb9c9d70d0543972f58394ec70e8b61861355 100644
(file)
--- a/
vrecordinglistadvanced.cc
+++ b/
vrecordinglistadvanced.cc
@@
-106,10
+106,9
@@
void VRecordingListAdvanced::drawData(bool doIndexPop)
currentSubDir = *i;
SNPRINTF(tempA, 299, tr("\t%s \n \t <dir> %lu/%lu"), currentSubDir->name, currentSubDir->getNumNewRecordings(), currentSubDir->getNumRecordings());
- TVMediaInfo *info=
NULL
;
+ TVMediaInfo *info=
new TVMediaInfo()
;
if (currentSubDir->recList.begin() != currentSubDir->recList.end())
{
- info=new TVMediaInfo();
info->setPosterThumb((*currentSubDir->recList.begin())->getFileName());
info->setStaticFallback(sa_recfolder);
} else {