Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71915dd3 authored by Harry Cutts's avatar Harry Cutts Committed by Android (Google) Code Review
Browse files

Merge "uinput: recycle SomeArgs after opening uinput" into main

parents 2100b84b 49c9fca3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -172,8 +172,10 @@ public class Device {
                        RuntimeException ex = new RuntimeException(
                                "Could not create uinput device \"" + name + "\"");
                        Log.e(TAG, "Couldn't create uinput device, exiting.", ex);
                        args.recycle();
                        throw ex;
                    }
                    args.recycle();
                    break;
                case MSG_INJECT_EVENT:
                    if (mPtr != 0) {