Merge "liblog: Fix memory leaks"