MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / dispose

Method dispose

Wrappers/OpenNI.java/src/org/openni/ObjectWrapper.java:66–73  ·  view source on GitHub ↗

Frees the objects memory and sets its pointer to NULL

()

Source from the content-addressed store, hash-verified

64 * Frees the objects memory and sets its pointer to NULL
65 */
66 public void dispose()
67 {
68 if (this.ptr != 0)
69 {
70 freeObject(this.ptr);
71 this.ptr = 0;
72 }
73 }
74
75 /**
76 * Abstract function -- implemented to allow for each type of Object descended

Callers 5

finalizeMethod · 0.95
releaseMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 1

freeObjectMethod · 0.95

Tested by

no test coverage detected