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

am: 12f6c4809e

Change-Id: I6dd5583c7d267826c4c26baf3419c863e3948e81
This commit is contained in:
George Burgess IV 2017-09-07 21:53:04 +00:00 committed by android-build-merger
commit 614fc323ff
1 changed files with 0 additions and 1 deletions

View File

@ -275,7 +275,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);