summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/object.cpp b/src/libcamera/object.cpp
index 647ccda7..cd83c684 100644
--- a/src/libcamera/object.cpp
+++ b/src/libcamera/object.cpp
@@ -125,7 +125,7 @@ Object::~Object()
* struct Deleter : std::default_delete<MyObject> {
* void operator()(MyObject *obj)
* {
- * delete obj;
+ * obj->deleteLater();
* }
* };
*