microsoftarchive / KinectCommonBridge

Other
113 stars 43 forks source link

Fix dangling pointer in KCBCreateBodyFrame() #17

Open shihchinw opened 9 years ago

shihchinw commented 9 years ago

Hi, there is a dangling pointer in KCBCreateBodyFrame(). It would crash in pBodyFrame->GetAndRefreshBodyData() (KCBv2Lib.cpp#876) when we use KCBGetAllFrameData() to retrieve body frame.