aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/protocols/DRMLease.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/DRMLease.hpp')
-rw-r--r--src/protocols/DRMLease.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocols/DRMLease.hpp b/src/protocols/DRMLease.hpp
index 56eaa3db..3671cfce 100644
--- a/src/protocols/DRMLease.hpp
+++ b/src/protocols/DRMLease.hpp
@@ -22,12 +22,13 @@ class CDRMLeaseRequestResource;
class CDRMLeaseResource {
public:
CDRMLeaseResource(SP<CWpDrmLeaseV1> resource_, SP<CDRMLeaseRequestResource> request);
+ ~CDRMLeaseResource();
bool good();
WP<CDRMLeaseDeviceResource> parent;
std::vector<WP<CDRMLeaseConnectorResource>> requested;
- WP<Aquamarine::CDRMLease> lease;
+ SP<Aquamarine::CDRMLease> lease;
int leaseFD = -1;