commit | 12f6c4809e67b8ebeeae49e64558c91f5f9a4d50 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Thu Sep 07 21:48:36 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Thu Sep 07 21:48:36 2017 +0000 |
tree | 3afe6da09ee069480407e27f77c2be5525e78945 | |
parent | 721b2d6035b390f8601974174130d5976504eafd [diff] | |
parent | 16dd491aac1c69ac4f143792454d9b53e855a8ef [diff] |
Merge "libsync: Fix a double-free." am: 16dd491aac Change-Id: I3df91f1d203423dd5f0ca6335812630c25d8bc01
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);