| 69 | } |
| 70 | |
| 71 | XN_C_API void xnNodeQueryFree(XnNodeQuery* pQuery) |
| 72 | { |
| 73 | // free needed nodes list |
| 74 | for (XnUInt32 i = 0; i < pQuery->nNeededNodes; ++i) |
| 75 | { |
| 76 | xnOSFree(pQuery->astrNeededNodes[i]); |
| 77 | } |
| 78 | |
| 79 | // free capabilities list |
| 80 | for (XnUInt32 i = 0; i < pQuery->nSupportedCapabilities; ++i) |
| 81 | { |
| 82 | xnOSFree(pQuery->astrSupportedCapabilities[i]); |
| 83 | } |
| 84 | |
| 85 | xnOSFree(pQuery); |
| 86 | } |
| 87 | |
| 88 | XN_C_API XnStatus xnNodeQuerySetVendor(XnNodeQuery* pQuery, const XnChar* strVendor) |
| 89 | { |
no test coverage detected