diff options
author | chriszero <zerov83@gmail.com> | 2015-02-13 16:14:10 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-02-13 16:14:10 +0100 |
commit | 20fefdd3f341d6e7f6b15e4926bf5569aa1943d5 (patch) | |
tree | ba402770b4912be3d93f6dd8faab521f4b5e4762 /SubscriptionManager.h | |
parent | b5c156939ddf2fc4ec3fa27ae1c3daae28681c12 (diff) | |
download | vdr-plugin-plex-20fefdd3f341d6e7f6b15e4926bf5569aa1943d5.tar.gz vdr-plugin-plex-20fefdd3f341d6e7f6b15e4926bf5569aa1943d5.tar.bz2 |
Removed some raw pointers to avoid a possible memoryleak
Diffstat (limited to 'SubscriptionManager.h')
-rw-r--r-- | SubscriptionManager.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; }; |