Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: src/IBusChewingEngine.gob

Issue 2449009: Fix a memory leak in mouse handling. (Closed) Base URL: ssh://git@chromiumos-git/ibus-chewing.git
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IBusChewingEngine.gob
diff --git a/src/IBusChewingEngine.gob b/src/IBusChewingEngine.gob
index ee7eb95675602aee9a5c4f6dca683afc5e409222..a98bb9c9e48d60b74923454dcf20fac5fcfcacb6 100644
--- a/src/IBusChewingEngine.gob
+++ b/src/IBusChewingEngine.gob
@@ -757,6 +757,7 @@ class IBus:Chewing:Engine from IBus:Engine{
}
ibus_chewing_engine_set_status_flag(self, ENGINE_STATUS_NEED_COMMIT);
chewing_handle_Default(self->context, keys[index]);
+ chewing_free(keys);
self_update(self);
} else {
G_DEBUG_MSG(3,"[I3] handle_cadidate_clicked() ... Wrong mode: %u", self->inputMode);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698