From 20fefdd3f341d6e7f6b15e4926bf5569aa1943d5 Mon Sep 17 00:00:00 2001 From: chriszero Date: Fri, 13 Feb 2015 16:14:10 +0100 Subject: Removed some raw pointers to avoid a possible memoryleak --- SubscriptionManager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'SubscriptionManager.h') diff --git a/SubscriptionManager.h b/SubscriptionManager.h index 19cfad1..fc96448 100644 --- a/SubscriptionManager.h +++ b/SubscriptionManager.h @@ -90,15 +90,15 @@ public: static ActionManager instance; return instance; } - void AddAction(Video* video); - Video* GetAction(); + void AddAction(Video video); + Video GetAction(); bool IsAction(); private: cMutexLock m_myLock; cMutex m_myMutex; ActionManager(); - Video* m_Action; + Video m_Action; bool m_isAction; }; -- cgit v1.2.3