Skip to content
Snippets Groups Projects
Commit 6b2da5b9 authored by Dan Carpenter's avatar Dan Carpenter Committed by Tomi Valkeinen
Browse files

drm: xlnx: db: fix a memory leak in probe

parent a18815ac
No related branches found
No related tags found
No related merge requests found
......@@ -1716,7 +1716,7 @@ int zynqmp_dp_probe(struct zynqmp_dpsub *dpsub)
ret = zynqmp_dp_reset(dp, true);
if (ret < 0)
return ret;
goto err_free;
ret = zynqmp_dp_reset(dp, false);
if (ret < 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment