Commit 1e4621ef authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

linuxdmabuf: don't leak private implementations

Found when running under ASAN
parent 524470f2
......@@ -84,6 +84,10 @@ LinuxDmabufUnstableV1Buffer::LinuxDmabufUnstableV1Buffer(uint32_t format, const
d->m_size = size;
}
LinuxDmabufUnstableV1Buffer::~LinuxDmabufUnstableV1Buffer()
{
}
typedef LinuxDmabufUnstableV1Interface V1Iface;
class V1Iface::Private : public Global::Private
......
......@@ -61,11 +61,11 @@ public:
/**
* Destroys the Buffer.
*/
virtual ~LinuxDmabufUnstableV1Buffer() = default;
virtual ~LinuxDmabufUnstableV1Buffer();
private:
class Private;
Private *d;
QScopedPointer<Private> d;
};
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment