binder: fix memory leaks of spam and pending work
[linux-2.6-microblaze.git] / drivers / android / binder.c
index 367afac..92128aa 100644 (file)
@@ -4812,6 +4812,8 @@ static void binder_release_work(struct binder_proc *proc,
                                "undelivered TRANSACTION_ERROR: %u\n",
                                e->cmd);
                } break;
+               case BINDER_WORK_TRANSACTION_PENDING:
+               case BINDER_WORK_TRANSACTION_ONEWAY_SPAM_SUSPECT:
                case BINDER_WORK_TRANSACTION_COMPLETE: {
                        binder_debug(BINDER_DEBUG_DEAD_TRANSACTION,
                                "undelivered TRANSACTION_COMPLETE\n");