Fix read from uninitialized memory.

Change-Id: I75ce29d5971b386ff9dd52824a8953ce69a3ec15
This commit is contained in:
Jeff Brown
2011-02-07 20:29:08 -08:00
parent 5e2b123e48
commit 71c86ada9f

View File

@ -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() {