No description
Find a file
Mark Salyzyn ba1a798fd8 liblog: free event tag map in __android_log_close()
There is no leak since a reference always remained and could get
reused.  It just makes sense to also close the event tag map as well
if logging is closed.  If we close we also have to fix a tagArray
leak in android_closeEventTagMap().

NB: __android_log_close() already makes an assumption that another
thread is not logging at the same time, which is true in all callers
at this time.  There are some partial mitigation strategies if
__android_log_close() is called asynchronously, but not completely
solved at the cost of a lock for every logging call.

Test: gTest liblog-unit-tests
Bug: 30963384
Bug: 31456426
Change-Id: Ib76ad9302dba4d3f35250213f4dfef22498af238
2016-09-26 08:21:13 -07:00
adb Merge "Ignore setsid error in some cases." 2016-09-22 06:28:51 +00:00
adf Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
base Merge "Base: Remove LOG_S variants." 2016-09-26 00:37:13 +00:00
bootstat Convert to Android.bp 2016-08-26 16:19:21 -07:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
debuggerd Fix debuggerd argument parsing. 2016-09-15 17:08:33 -07:00
fastboot Add android::base::GetExecutablePath, switch adb and fastboot over. 2016-09-01 09:24:24 -07:00
fingerprintd Merge "Fix google-explicit-constructor warnings." am: 7bdd6a8b5a 2016-04-30 05:16:35 +00:00
fs_mgr Split fstab mount into 2 phases 2016-09-06 11:39:05 -07:00
gatekeeperd Merge "Fix google-explicit-constructor warnings." am: 7bdd6a8b5a 2016-04-30 05:16:35 +00:00
healthd Merge \"Fix clang-tidy performance warnings in healthd.\" 2016-07-28 06:24:24 +00:00
include Merge "Flattenable: switch from assignment to memcpy()." 2016-09-23 22:46:03 +00:00
init Split fstab mount into 2 phases 2016-09-06 11:39:05 -07:00
libbacktrace Replace libziparchive-host with libziparchive 2016-08-26 11:12:38 -07:00
libbinderwrapper Move libbinderwrapper's headers into libbinderwrapper. 2016-09-16 09:02:47 -07:00
libcrypto_utils libcrypto_utils: convert to Soong. 2016-08-05 18:07:36 -07:00
libcutils Move android_get_control_socket out of line 2016-09-23 11:26:08 -07:00
libdiskconfig Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libion Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
liblog liblog: free event tag map in __android_log_close() 2016-09-26 08:21:13 -07:00
libmemtrack Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libmemunreachable Add missing include. 2016-09-21 16:21:52 -07:00
libnativebridge Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libnativeloader Merge \"libnativeloader: convert Android.mk to Android.bp\" 2016-07-28 10:53:40 +00:00
libnetutils Remove deprecated libnetutils DHCPv4 code 2016-09-10 09:14:51 +09:00
libpackagelistparser Convert libpackagelistparser to Android.bp 2016-07-19 22:19:37 -07:00
libpixelflinger Fix reference counting for Assembly 2016-08-16 10:12:43 -07:00
libprocessgroup resolve merge conflicts of ed3596a to stage-aosp-master 2016-08-03 13:29:04 -07:00
libsparse Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libsuspend Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
libsync Merge "Convert to Android.bp" 2016-08-29 20:32:12 +00:00
libsysutils Merge "Most accept/accept4 calls in system/core don't actually want the remote address." 2016-08-23 23:03:20 +00:00
libusbhost usb-bulk-transfer: Clarify sign-iy-ness of param 2016-09-21 15:51:35 +00:00
libutils Fix warnings in libutils headers 2016-09-22 13:03:15 -07:00
libziparchive Fix warnings in libziparchive 2016-09-20 09:23:47 -07:00
lmkd Move android_get_control_socket out of line 2016-09-23 11:26:08 -07:00
logcat logcat: -d, -t or -L, along with -f, do not background 2016-08-08 10:20:22 -07:00
logd logd: clear all from non system user status request 2016-09-02 07:41:27 -07:00
logwrapper Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
mkbootimg mkbootimg: use int for os_version and os_patch_level 2016-03-29 16:06:37 -07:00
reboot Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
rootdir Remove net_bt_stack group and replace it with bluetooth 2016-09-20 12:01:33 -07:00
run-as run-as: Use Minijail for privilege dropping. 2016-07-19 11:03:52 -04:00
sdcard sdcard: Fix bad merge 2016-08-31 00:04:22 +00:00
toolbox Lose sendevent to toybox. 2016-07-15 14:17:28 -07:00
trusty Merge "Fix google-explicit-constructor warnings in system/core." 2016-07-29 16:57:17 +00:00
tzdatacheck Convert more Android.mk files to Android.bp 2016-07-13 17:41:45 -07:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Use BOARD_USES_VENDORIMAGE to detect vendor image presence 2016-07-08 18:17:48 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00