Fixed memory leak (Reeti)

Facedetection.cpp file, Reeti methods.