platform_system_core/libsync
George Burgess IV 4ff5ff29d2 libsync: Fix a double-free.
sync_file_info, the only caller of legacy_fence_info_to_sync_file_info,
unconditionally frees legacy_info after
legacy_fence_info_to_sync_file_info is called. So, if this calloc
fails, we'll end up freeing legacy_info twice.

Bug: 27101951
Test: mma. Static analyzer complaint about double-free is gone.
Change-Id: I43bf820af9aadf30cb8eabce57416f69a8fccf89
2017-09-05 16:26:36 -07:00
..
include libsync: ndk: Fix compilation in C mode. 2017-04-14 15:12:06 -07:00
tests sync: rename sync/sync.h to android/sync.h 2017-02-23 18:44:50 -08:00
Android.bp Merge "Remove LOCAL_CLANG and clang: true" 2017-07-25 22:28:56 +00:00
NOTICE sync: Add NDK sync.h and libsync 2017-02-23 18:44:50 -08:00
libsync.map.txt sync: Add NDK sync.h and libsync 2017-02-23 18:44:50 -08:00
sw_sync.h move sync headers from include to libsync 2014-01-03 21:27:05 +00:00
sync.c libsync: Fix a double-free. 2017-09-05 16:26:36 -07:00
sync_test.c sync: rename sync/sync.h to android/sync.h 2017-02-23 18:44:50 -08:00