From 493732167da19798f570416ee3e17e6419040cf9 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Fri, 5 Nov 2010 18:17:23 +0000 Subject: Android port: NewStringUTF() JNI call doesn't need freeing, these will get garbage collected. Also use strncpy instead of snprintf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28495 a1c6a512-1295-4272-9138-f99709370657 --- apps/hosted/yesno.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/hosted/yesno.c') diff --git a/apps/hosted/yesno.c b/apps/hosted/yesno.c index 1e05e193f7..9858e66438 100644 --- a/apps/hosted/yesno.c +++ b/apps/hosted/yesno.c @@ -95,8 +95,6 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message, jboolean ret; e->CallVoidMethod(env_ptr, RockboxYesno_instance, yesno_func, message); - e->ReleaseStringUTFChars(env_ptr, message, NULL); - do { sleep(HZ/10); -- cgit v1.2.3