Fix a memory leak.
authorPeng Huang <shawn.p.huang@gmail.com>
Fri, 28 Aug 2009 10:44:49 +0000 (18:44 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Fri, 28 Aug 2009 10:44:49 +0000 (18:44 +0800)
bus/engineproxy.c

index 70e11744961a871f5e22c2ff6e9052ab3bf68f83..2dd22c632bcdc6afd8e3896765b2bb58452f7313 100644 (file)
@@ -614,6 +614,7 @@ bus_engine_proxy_process_key_event (BusEngineProxy *engine,
     ibus_pending_call_unref (pending);
 
     if (!retval) {
+        g_slice_free (CallData, call_data);
         g_warning ("%s : ProcessKeyEvent", DBUS_ERROR_NO_MEMORY);
         return_cb (GINT_TO_POINTER (FALSE), user_data);
         return;