Merge "libsync: Fix a double-free." am: 16dd491aac am: 12f6c4809e

am: 614fc323ff

Change-Id: I4f19d7b30e1218a1ec5d51570c273b5e2dcfd522
This commit is contained in:
George Burgess IV 2017-09-07 22:00:13 +00:00 committed by android-build-merger
commit ce61cde6d8
1 changed files with 0 additions and 1 deletions

View File

@ -277,7 +277,6 @@ static struct sync_file_info* legacy_fence_info_to_sync_file_info(
info = calloc(1, sizeof(struct sync_file_info) +
num_fences * sizeof(struct sync_fence_info));
if (!info) {
free(legacy_info);
return NULL;
}
info->sync_fence_info = (__u64)(uintptr_t)(info + 1);