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 /PVideo.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 'PVideo.h')
-rw-r--r-- | PVideo.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -33,7 +33,8 @@ namespace plexclient class Video: XmlObject { public: - Video(Poco::XML::Node* pNode, PlexServer* Server); + Video(Poco::XML::Node* pNode, PlexServer Server); + Video() {}; public: int m_iRatingKey; @@ -60,7 +61,7 @@ public: std::vector<std::string> m_vRole; std::string m_sCollection; Media m_Media; - PlexServer* m_pServer; + PlexServer m_Server; int m_iMyPlayOffset; }; |