summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'libsync/sync.c')
-rw-r--r--libsync/sync.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsync/sync.c b/libsync/sync.c
index baeccda47..e65765894 100644
--- a/libsync/sync.c
+++ b/libsync/sync.c
@@ -275,7 +275,6 @@ static struct sync_file_info* legacy_fence_info_to_sync_file_info(
275 info = calloc(1, sizeof(struct sync_file_info) + 275 info = calloc(1, sizeof(struct sync_file_info) +
276 num_fences * sizeof(struct sync_fence_info)); 276 num_fences * sizeof(struct sync_fence_info));
277 if (!info) { 277 if (!info) {
278 free(legacy_info);
279 return NULL; 278 return NULL;
280 } 279 }
281 info->sync_fence_info = (__u64)(uintptr_t)(info + 1); 280 info->sync_fence_info = (__u64)(uintptr_t)(info + 1);