Fixed memory leak

In Face detection CPP and DLL
Fixed memory leak (Reeti)

Facedetection.cpp file, Reeti methods.
Merge pull request #328 from mbehrooz/develop

Fixes the memory leak in face detection.