diff --git a/examples/android/telpo_liveness_video_recognition/src/main/res/layout/about.xml b/examples/android/telpo_liveness_video_recognition/src/main/res/layout/about.xml
index 29105ee..5aab8f1 100644
--- a/examples/android/telpo_liveness_video_recognition/src/main/res/layout/about.xml
+++ b/examples/android/telpo_liveness_video_recognition/src/main/res/layout/about.xml
@@ -16,7 +16,7 @@
android:id="@+id/aboutText1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="Video recognition with depth and IR liveness demo for Telpo (v 0.2)\n\nFace SDK version 3.19.1\n"
+ android:text="Video recognition with depth and IR liveness demo for Telpo (v 0.2)\n\nFace SDK version 3.19.2\n"
android:layout_below="@+id/aboutLogo"
/>
diff --git a/flutter/face_sdk_3divi/lib/api/processing_block.dart b/flutter/face_sdk_3divi/lib/api/processing_block.dart
index 3bdffa6..efee9ed 100644
--- a/flutter/face_sdk_3divi/lib/api/processing_block.dart
+++ b/flutter/face_sdk_3divi/lib/api/processing_block.dart
@@ -10,7 +10,7 @@ class ProcessingBlock extends _ComplexObject {
final destructor = _dll_handle.lookupFunction<
_ProcessingBlock_destroyProcessingBlock_c,
_ProcessingBlock_destroyProcessingBlock_dart>
- ('TDVProcessingBlock_destroy');
+ ('TDVProcessingBlock_destroyBlock');
destructor(_impl, exception);
diff --git a/flutter/face_sdk_3divi/lib/api/recognizer.dart b/flutter/face_sdk_3divi/lib/api/recognizer.dart
index c54b981..4ba157d 100644
--- a/flutter/face_sdk_3divi/lib/api/recognizer.dart
+++ b/flutter/face_sdk_3divi/lib/api/recognizer.dart
@@ -95,11 +95,12 @@ class Recognizer extends _ComplexObject {
get(_impl, template1._impl, template2._impl, distance, far, frr, score, exception);
checkException(exception, _dll_handle);
+ MatchResult result = MatchResult(distance.value, far.value, frr.value, score.value);
malloc.free(distance);
malloc.free(score);
malloc.free(frr);
malloc.free(far);
- return MatchResult(distance.value, far.value, frr.value, score.value);
+ return result;
}
///Load the template.
///The format is platform-independent.
@@ -133,7 +134,7 @@ class Recognizer extends _ComplexObject {
malloc.free(_templatePointerStructure[0]);
malloc.free(_templatePointerStructure[1]);
malloc.free(_templatePointerStructure);
- malloc.free(byteCount);
+ // byteCount not free
return Template(_dll_handle, templPointer);
}
diff --git a/include/facerec/libfacerec.h b/include/facerec/libfacerec.h
index c085123..792bbc8 100644
--- a/include/facerec/libfacerec.h
+++ b/include/facerec/libfacerec.h
@@ -11,9 +11,9 @@
#ifndef FACEREC_LIBFACEREC_H_
#define FACEREC_LIBFACEREC_H_
-#define LIBFACEREC_VERSION "3.19.01"
+#define LIBFACEREC_VERSION "3.19.02"
-#define LIBFACEREC_VERSION_HEX 0x031901
+#define LIBFACEREC_VERSION_HEX 0x031902
#include "../pbio/FacerecService.h"
diff --git a/python_api/setup.py b/python_api/setup.py
index 74a1484..31193fc 100644
--- a/python_api/setup.py
+++ b/python_api/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
from os import path
-__version__ = '3.19.1'
+__version__ = '3.19.2'
__author__ = '3DiVi'
__url__ = 'https://face.3divi.com/'