[clutter/android-enter-leave: 6/29] android: don't leak untranslated events
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/android-enter-leave: 6/29] android: don't leak untranslated events
- Date: Wed, 11 Jul 2012 17:07:34 +0000 (UTC)
commit e71ab558692972bada315fd80b463a9fc58f767a
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Sat May 26 20:12:38 2012 +0100
android: don't leak untranslated events
clutter/android/clutter-android-application.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter/android/clutter-android-application.c b/clutter/android/clutter-android-application.c
index 8357b3e..30bb1bc 100644
--- a/clutter/android/clutter-android-application.c
+++ b/clutter/android/clutter-android-application.c
@@ -341,6 +341,8 @@ clutter_android_handle_input (struct android_app *app,
if (process)
_clutter_event_push (event, FALSE);
+ else
+ clutter_event_free (event);
return (int32_t) process;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]