From 3db9655c56098fa6667771b334d79ac7c739c48a Mon Sep 17 00:00:00 2001 From: electron128 Date: Wed, 27 May 2015 12:07:07 +0000 Subject: [PATCH] fixed memory leak in voip plugin git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8303 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- plugins/VOIP/gui/VOIPChatWidgetHolder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/VOIP/gui/VOIPChatWidgetHolder.cpp b/plugins/VOIP/gui/VOIPChatWidgetHolder.cpp index 6a8a5a983..8bdd31a65 100644 --- a/plugins/VOIP/gui/VOIPChatWidgetHolder.cpp +++ b/plugins/VOIP/gui/VOIPChatWidgetHolder.cpp @@ -371,7 +371,7 @@ void VOIPChatWidgetHolder::addAudioData(const RsPeerId &peer_id, QByteArray* arr ) { QGraphicsOpacityEffect *effect = new QGraphicsOpacityEffect(audioListenToggleButton); audioCaptureToggleButton->setGraphicsEffect(effect); - QPropertyAnimation *anim = new QPropertyAnimation(effect, "opacity"); + QPropertyAnimation *anim = new QPropertyAnimation(effect, "opacity", effect); anim->setStartValue(1); anim->setKeyValueAt(0.5,0); anim->setEndValue(1);