diff --git a/sys/androidmedia/gstamc.c b/sys/androidmedia/gstamc.c index 8a158a1966..12a0603e49 100644 --- a/sys/androidmedia/gstamc.c +++ b/sys/androidmedia/gstamc.c @@ -220,6 +220,9 @@ getStackTrace (JNIEnv * env, jthrowable exception) g_string_append (gs, ""); goto done; } + + g_string_append (gs, utfChars); + (*env)->ReleaseStringUTFChars (env, messageStr, utfChars); done: