Merge "liblog: worry over resource leaks" am: acc0e98b0f am: 4f2753fd91
am: b670634146

Change-Id: Icd9e42e6a5043d3403cbd49aaed9bcf204353c37