MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / deallocStream

Method deallocStream

src/openni2/DeviceDriver.cpp:147–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 void deallocStream() {
148 if (color != NULL)
149 {
150 delete color;
151 color = NULL;
152 }
153 if (depth != NULL)
154 {
155 delete depth;
156 depth = NULL;
157 }
158 if (ir != NULL)
159 {
160 delete ir;
161 ir = NULL;
162 }
163 }
164
165 public:
166 DeviceImpl(int index) : //libfreenect2::Freenect2Device(fn_ctx, index),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected