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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)