[mythtv-firehose] mythtv branch master updated by cpinkham. v0.27-alpha-106-g619d87b

Git Repo Owner noreply at mythtv.org
Thu Aug 8 23:05:19 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user cpinkham.
       via  619d87bdc8a2e3291bbf6b771345170507aaa2c0 (commit)
      from  97240ef1aa05046e28957bd1c1ee3fae3ea8fa6b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 619d87bdc8a2e3291bbf6b771345170507aaa2c0
Author:    Chris Pinkham <cpinkham at mythtv.org> at Thu, 8 Aug 2013 15:55:47 -0700
Committer: Chris Pinkham <cpinkham at mythtv.org> at Thu, 8 Aug 2013 15:55:47 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=619d87bdc8a2e3291bbf6b771345170507aaa2c0

Fix a couple potential segfaults in MythDownloadManager.
In both GetLastModified() and download(QString,bool), we were
deleting the MythDownloadInfo* even when downloadNow() failed.  Whenever
downloadNow() fails, it sets a flag to allow downloadFinished() to
clean up as if the call was async instead of sync, so we only need to
delete our MythDownloadInfo* if the download succeeded.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythbase/mythdownloadmanager.cpp |   42 ++++++++++++++---------
 1 files changed, 26 insertions(+), 16 deletions(-)

-- 



More information about the mythtv-firehose mailing list