From e747c2b87c23b40e853a0870530c4a9fa7dad9df Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 29 Jul 2013 10:01:35 +0000 Subject: fixed memory leaks git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3558 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/notifier/notifier.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/General/notifier/notifier.cpp') diff --git a/src/plugins/General/notifier/notifier.cpp b/src/plugins/General/notifier/notifier.cpp index 8af0c8d6d..a12034b16 100644 --- a/src/plugins/General/notifier/notifier.cpp +++ b/src/plugins/General/notifier/notifier.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2008-2012 by Ilya Kotov * + * Copyright (C) 2008-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -72,6 +72,8 @@ Notifier::Notifier(QObject *parent) : QObject(parent) Notifier::~Notifier() { removePsiTuneFiles(); + if (m_popupWidget) + delete m_popupWidget; } void Notifier::setState(Qmmp::State state) -- cgit v1.2.3-13-gbd6f