commit | 37d8b27e5470d8243288a87e90871efd43f29606 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Thu May 07 12:07:31 2015 -0700 |
committer | Chong Zhang <chz@google.com> | Thu May 07 12:08:20 2015 -0700 |
tree | 9a653e7901c7f91cdaf06bf71269f873ffc2797f | |
parent | 32fa6d0e65dbf956e253a1006e9419dce2fe75c9 [diff] [blame] |
MediaHTTP: add more null ptr and init checks bug: 20912192 Change-Id: I83cf59ff85fd8aa3a19a696ceb97cd8aa922b8ba
diff --git a/media/libmedia/IMediaHTTPService.cpp b/media/libmedia/IMediaHTTPService.cpp index f30d0f3..0c16a2b 100644 --- a/media/libmedia/IMediaHTTPService.cpp +++ b/media/libmedia/IMediaHTTPService.cpp
@@ -44,6 +44,7 @@ status_t err = reply.readInt32(); if (err != OK) { + ALOGE("Unable to make HTTP connection (err = %d)", err); return NULL; }