Commit f681c2aa authored by Rob Clark's avatar Rob Clark Committed by Rob Clark
Browse files

drm/msm: Fix another leak in the submit error path



put_unused_fd() doesn't free the installed file, if we've already done
fd_install().  So we need to also free the sync_file.

Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/653583/


Signed-off-by: default avatarRob Clark <robin.clark@oss.qualcomm.com>
parent 5d319f75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment