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

Commit 71c86ada authored by Jeff Brown's avatar Jeff Brown
Browse files

Fix read from uninitialized memory.

Change-Id: I75ce29d5971b386ff9dd52824a8953ce69a3ec15
parent 5e2b123e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -878,7 +878,8 @@ public:
    InstrumentedInputReader(const sp<EventHubInterface>& eventHub,
            const sp<InputReaderPolicyInterface>& policy,
            const sp<InputDispatcherInterface>& dispatcher) :
            InputReader(eventHub, policy, dispatcher) {
            InputReader(eventHub, policy, dispatcher),
            mNextDevice(NULL) {
    }

    virtual ~InstrumentedInputReader() {