From e97d9eb1751623e5434aac08a5746350be2a7341 Mon Sep 17 00:00:00 2001 From: PancakeTAS Date: Thu, 25 Jun 2026 11:13:16 +0200 Subject: Bug fixes all across the project --- src/syncobject.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/syncobject.cpp') diff --git a/src/syncobject.cpp b/src/syncobject.cpp index f2d3bbc..4ec1a9c 100644 --- a/src/syncobject.cpp +++ b/src/syncobject.cpp @@ -4,6 +4,7 @@ #include "drm++/helper.hpp" #include "drm++/ioctl.hpp" +#include #include #include #include @@ -68,7 +69,7 @@ void SyncObjectBase::destruct() noexcept { try { ioctl::perform(this->m_fd, DRM_IOCTL_SYNCOBJ_DESTROY, args); } catch(...) { - (void) 0; // not much we can do about the leak + assert(false && "Sync object destroy failed, memory leak likely"); } this->m_fd = -1; -- cgit v1.3.1