Merge "liblog: android_closeEventTagMap pointer check"

This commit is contained in:
Treehugger Robot 2016-11-09 19:47:49 +00:00 committed by Gerrit Code Review
commit 2422d55d2b
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ LIBLOG_ABI_PUBLIC void __android_log_close()
__android_log_unlock();
#if defined(__BIONIC__)
android_closeEventTagMap(m);
if (m != (EventTagMap *)(uintptr_t)-1LL) android_closeEventTagMap(m);
#endif
}