Fixed memory leak on cvFindContours

Signed-off-by: Laentir Valetov <laex@bk.ru>
Update function def

Signed-off-by: Laentir Valetov <laex@bk.ru>