commit | 0cde076ddb283c84c3801a2df4cc3df99bd1577f | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Thu Jan 16 15:06:36 2014 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Thu Jan 16 17:01:04 2014 -0800 |
tree | 9f1d49f9fc52a5cedea8e0bd14555a70ab5772b0 | |
parent | a238b9b43a2b8dac60e0fd8700daa6cd4f644547 [diff] [blame] |
Cleanup createTrack error handling Similar to cleanup done earlier for openRecord in this CL: > Change-Id: I84897dd7d30b370640b54e928f230604b873cb68 Bug: 10888816 Change-Id: I804a47f898e0319a60a9bd58906bbb037e45cc25
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index 01b90a8..b191a8f 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp
@@ -1339,6 +1339,7 @@ // but TimedTrack::create() is a factory that could fail by returning NULL lStatus = track != 0 ? track->initCheck() : (status_t) NO_MEMORY; if (lStatus != NO_ERROR) { + ALOGE("createTrack_l() initCheck failed %d; no control block?", lStatus); track.clear(); goto Exit; }