summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/viewer/jni/Application.mk1
-rw-r--r--platform/android/viewer/jni/mupdf.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/viewer/jni/Application.mk b/platform/android/viewer/jni/Application.mk
index 4cedaf8d..d0c02018 100644
--- a/platform/android/viewer/jni/Application.mk
+++ b/platform/android/viewer/jni/Application.mk
@@ -40,6 +40,7 @@ APP_STL := stlport_static
endif
ifdef MEMENTO
APP_CFLAGS += -DMEMENTO -DMEMENTO_LEAKONLY
+APP_STL = gnustl_static
endif
# If the ndk is r8b then workaround bug by uncommenting the following line
diff --git a/platform/android/viewer/jni/mupdf.c b/platform/android/viewer/jni/mupdf.c
index 9eabc243..4f3b31f7 100644
--- a/platform/android/viewer/jni/mupdf.c
+++ b/platform/android/viewer/jni/mupdf.c
@@ -1784,8 +1784,7 @@ JNI_FN(MuPDFCore_destroying)(JNIEnv * env, jobject thiz)
free(glo);
#ifdef MEMENTO
LOGI("Destroying dump start");
- Memento_listBlocks();
- Memento_stats();
+ Memento_fin();
LOGI("Destroying dump end");
#endif
#ifdef NDK_PROFILER