Searched refs:freeFunc (Results 1 – 3 of 3) sorted by relevance
137 DepthFreeSo freeFunc = DepthFree; in ThreadFuncCppHook() local149 freeFunc = (DepthFreeSo)dlsym(handle, "DepthFreeSo"); in ThreadFuncCppHook()150 if (mallocFunc == nullptr || freeFunc == nullptr) { in ThreadFuncCppHook()160 freeFunc(g_stickDepth, p); in ThreadFuncCppHook()
107 DepthFreeSo freeFunc = nullptr; in DlopenAndCloseSo() local117 freeFunc = (DepthFreeSo)dlsym(handle, "DepthFreeSo"); in DlopenAndCloseSo()118 if (mallocFunc == nullptr || freeFunc == nullptr) { in DlopenAndCloseSo()126 freeFunc(g_stickDepth, ptr); in DlopenAndCloseSo()
223 DepthFreeSo freeFunc = nullptr; in DlopenAndCloseSo() local231 freeFunc = (DepthFreeSo)dlsym(handle, "DepthFreeSo"); in DlopenAndCloseSo()232 if (mallocFunc == nullptr || freeFunc == nullptr) { in DlopenAndCloseSo()238 freeFunc(depth, ptr); in DlopenAndCloseSo()