summaryrefslogtreecommitdiff
path: root/simple-cam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simple-cam.cpp')
-rw-r--r--simple-cam.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/simple-cam.cpp b/simple-cam.cpp
index 0b187b3..763341a 100644
--- a/simple-cam.cpp
+++ b/simple-cam.cpp
@@ -351,6 +351,7 @@ int main()
*/
camera->stop();
allocator->free(stream);
+ delete allocator;
camera->release();
camera.reset();
cm->stop();