From 3c37f74539cf870d563c44b92fc82852b5c46012 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 26 Oct 2017 18:45:08 +0000 Subject: fixed memory leaks and other errors git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7649 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/scrobbler/scrobblercache.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/General/scrobbler/scrobblercache.cpp') diff --git a/src/plugins/General/scrobbler/scrobblercache.cpp b/src/plugins/General/scrobbler/scrobblercache.cpp index 5a4475062..b6b1eec78 100644 --- a/src/plugins/General/scrobbler/scrobblercache.cpp +++ b/src/plugins/General/scrobbler/scrobblercache.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2013-2016 by Ilya Kotov * + * Copyright (C) 2013-2017 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -24,12 +24,14 @@ SongInfo::SongInfo() { m_length = 0; + m_start_ts = 0; } SongInfo::SongInfo(const QMap metadata, qint64 length) { m_metadata = metadata; m_length = length; + m_start_ts = 0; } SongInfo::SongInfo(const SongInfo &other) -- cgit v1.2.3-13-gbd6f