Skip to content
Snippets Groups Projects
Commit 2b33c457 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix valgrind issues

parent c4a52bb1
No related branches found
No related tags found
1 merge request!355SDK memory fixes and pipelines
Pipeline #33741 passed
......@@ -9,9 +9,10 @@ using voltu::internal::ObserverImpl;
using ftl::rgbd::Capability;
ObserverImpl::ObserverImpl(ftl::Configurable *base)
: id_(254) // FIXME: Allocate this
{
pool_ = new ftl::data::Pool(2,5);
rend_ = ftl::create<ftl::render::CUDARender>(base, "camN");
rend_ = ftl::create<ftl::render::CUDARender>(base, "camN"); // FIXME: Generate name properly
intrinsics_.fx = 700.0f;
intrinsics_.fy = 700.0f;
......@@ -28,6 +29,7 @@ ObserverImpl::ObserverImpl(ftl::Configurable *base)
ObserverImpl::~ObserverImpl()
{
frameset_.reset();
delete rend_;
delete pool_;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment