commit | 614fc323ff7579abced3c07c0dec2534bd6ff4be | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Thu Sep 07 21:53:04 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Sep 07 21:53:04 2017 +0000 |
tree | 3afe6da09ee069480407e27f77c2be5525e78945 | |
parent | 69596c2d00e1cc5dbc35765d81bf03bff7c9527b [diff] | |
parent | 12f6c4809e67b8ebeeae49e64558c91f5f9a4d50 [diff] |
Merge "libsync: Fix a double-free." am: 16dd491aac am: 12f6c4809e Change-Id: I6dd5583c7d267826c4c26baf3419c863e3948e81
diff --git a/libsync/sync.c b/libsync/sync.c index baeccda..e657658 100644 --- a/libsync/sync.c +++ b/libsync/sync.c
@@ -275,7 +275,6 @@ 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);