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

Method deallocate

src/cpu_depth_packet_processor.cpp:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void deallocate()
98 {
99 if(owns_buffer && buffer_ != 0)
100 {
101 delete[] buffer_;
102 owns_buffer = false;
103 buffer_ = 0;
104 buffer_end_ = 0;
105 }
106 }
107
108public:
109 /** Default constructor. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected